 
   # PALETTE HIGHLIGHT CODE
   # ================================
-  hook 'populate', 0, ->
+  hook 'populate', 1, ->
     @paletteHighlightCanvas = document.createElement 'canvas'
     @paletteHighlightCanvas.className = 'ice-palette-highlight-canvas'
     @paletteHighlightCtx = @paletteHighlightCanvas.getContext '2d'

              @currentHighlightedPaletteBlock = block
          else if block is @currentHighlightedPaletteBlock
            @currentHighlightedPaletteBlock = null
            @clearPalettehighlightCanvas()

        hoverDiv.addEventListener 'mouseout', (event) =>
          if block is @currentHighlightedPaletteBlock

  # SCROLLING SUPPORT
  # ================================

  hook 'populate', 2, ->
    @scrollOffsets = {
      main: new @draw.Point 0, 0
      palette: new @draw.Point 0, 0
