 
       # Temporarily ignoring x-scroll to fix bad x-scrolling behaviour
       # when dragging blocks out of the palette. TODO: fix x-scrolling behaviour.
-      #@scrollOffsets.palette.x = @paletteScroller.scrollLeft
+      # @scrollOffsets.palette.x = @paletteScroller.scrollLeft
 
       @paletteCtx.setTransform 1, 0, 0, 1, -@scrollOffsets.palette.x, -@scrollOffsets.palette.y
       @paletteHighlightCtx.setTransform 1, 0, 0, 1, -@scrollOffsets.palette.x, -@scrollOffsets.palette.y

      }

      # Draw the cursor (if exists, and is inserted)
      @redrawHighlights()

      if opts.boundingRectangle?
        @mainCtx.restore()

        # but might not actually be due to
        # floating point stuff.
        @currentlyAnimating = false

        # Show scrollbars again
        @mainScroller.style.overflow = 'auto'
