More work on mouse bindings (currently broken).