     if @currentHighlightedPaletteBlock?
       @paletteHighlightPath.draw @paletteHighlightCtx
 
-  hook 'rebuild_palette', 0, ->
+  hook 'rebuild_palette', 1, ->
     # Remove the existent blocks
     @paletteScrollerStuffing.innerHTML = ''
 

  # PUBLIC EVENT BINDING HOOKS
  # ===============================

  hook 'populate', 0, ->
    @bindings = {}

  Editor::on = (event, handler) ->
    @bindings[event] = handler



      clickHandler = =>
        do updatePalette

      paletteGroupHeader.addEventListener 'click', clickHandler
      paletteGroupHeader.addEventListener 'touchstart', clickHandler
