     if state.consumedHitTest then return
 
     if @lassoSegment? and @hitTest(@trackerPointToMain(point), @lassoSegment)?
+      @setTextInputFocus null
       @clickedBlock = @lassoSegment
       @clickedBlockIsPaletteBlock = false
       @clickedPoint = point

        hitTestResult = @hitTest palettePoint, block

        if hitTestResult?
          @clickedBlock = block
          @clickedPoint = point
          @clickedBlockIsPaletteBlock = true

    # deal with the click.
    if hitTestResult?
      # Record the hit test result (the block we want to pick up)
      @setTextInputFocus null
      @clickedBlock = hitTestResult
      @clickedBlockIsPaletteBlock = false

