 Editor::getCursor = ->
   cursor = @tree.getFromLocation(@cursor)
 
-  # If the cursor is incorrect (usually because something moved), find recover it
-  until (not cursor?) or @validCursorPosition(cursor)
-    cursor = cursor.next
-  if not cursor?
-    cursor = @tree.getFromLocation(@cursor)
-    until @validCursorPosition(cursor)
-      cursor = cursor.prev
-
   if cursor.type is 'socketStart'
     return cursor.container
   else

      if record.block is @clickedBlock
        @undoCapture()

        @pushUndo new FloatingOperation record.block, record.position, 'delete'

        @floatingBlocks.splice i, 1



    # Add the undo operation associated
    # with creating this floating block
    @pushUndo new FloatingOperation @floatingBlocks.length, @draggingBlock, renderPoint, 'create'

    # Add this block to our list of floating blocks
    @floatingBlocks.push new FloatingBlockRecord(
