Instead of checking for enabled, the mousemove event listener should be removed when not enabled.