revert mouse handler