Revert "Revert "Changing mouse handlers""

This reverts commit 8faeeccf5f12e9e80d66d8bace2343ce250961ce.