 
               mark._key ?= Math.random()
               currentAnnotation = @props.annotations[@props.annotations.length - 1]
+              drawingInProgress = @state.selection?._inProgress and mark isnt @state.selection
 
               if skippedMarks < currentAnnotation._hideMarksBefore
                 skippedMarks += 1


  render: ->
    skippedMarks = 0
    <g>
      {for annotation in @props.annotations
        annotation._key ?= Math.random()

              toolEnv =
                containerRect: @props.containerRect
                scale: scale
                disabled: isPriorAnnotation || drawingInProgress
                selected: mark is @state.selection and not isPriorAnnotation
                getEventOffset: @props.getEventOffset
                preferences: @props.preferences
