     x = (e.pageX - pageXOffset - rect.left) / scale.horizontal
     y = (e.pageY - pageYOffset - rect.top) / scale.vertical
     {x, y}
+
+  componentWillReceiveProps: (nextProps) ->
+    unless nextProps.annotation is @props.annotation
+      @selectMark null, null
 
   render: ->
     scale = @getScale()


                  toolMethods =
                    onChange: updateAnnotations
                    onSelect: @selectMark.bind this, mark
                    onDestroy: @destroyMark.bind this, annotation, mark

                  ToolComponent = drawingTools[toolDescription.type]

          tasks[detailTaskDescription.type].getDefaultAnnotation()

      @props.annotation.value.push mark
      @selectMark @props.annotation, mark
      MarkComponent = drawingTools[taskDescription.tools[mark.tool].type]

      if MarkComponent.defaultValues?
