Move mouseup event to enable/disable.