The API was changed after the mouse support was tested, and mouse support wasn't updated correctly. Fixes #900