     super
     $(document).off 'mousemove', @_onMouseLeave
 
+  _addClass: ->
+    super
+    @_updatePosition()
+
+  _removeClass: ->
+    super
+    @_updatePosition()
+
   _onMouseLeave: =>
     @_removeClass 'fl-button-state-hovered'
     @_callbacks.mouseleave()


  placeNearElement: (el) ->
    @$nearEl = $(el)
    @_updatePosition()
    @_fadeIn()

    $(window).on 'resize', => @_updatePosition()
    setInterval (=> @_updatePosition()), 1000

    selectionLeft = selectionBox.left + $(window).scrollLeft()

    left = selectionLeft + selectionBox.width
    left = Math.min left, $(window).width() - @frame.$el.outerWidth()

    @_showAtCoordinates top, left

