     # Redraw the main canvas
     @redrawMain()
 
-Editor::getClosestDroppableBlock = (mainPoint, event) ->
+Editor::getClosestDroppableBlock = (mainPoint, isDebugMode) ->
   best = null; min = Infinity
 
   if not (@dropPointQuadTree)

    # If there is an expansion function, call it again here.
    if (@draggingBlock.expansion)
      # Call expansion() with the closest droppable block for all drag moves.
      expansionText = @draggingBlock.expansion(@getClosestDroppableBlockFromPosition(position))

      # Create replacement @draggingBlock if the returned text is new.
      if expansionText isnt @draggingBlock.lastExpansionText

      # Otherwise, find the closest droppable block
      else
        @dragReplacing = false
        dropBlock = @getClosestDroppableBlock(mainPoint, event.shiftKey)

      # Update highlight if necessary.
      if dropBlock isnt @lastHighlight
