Not sure what the best practice is, but should the listeners for mousemove and mouseleave be unregistered? Or is it sufficient to rely on the container being removed? There is a method _removeListeners that removes listeners to other events.