Input; fix named input bindings for mouse not being stored for pressed/released immediate query and added more test case to the test. Thanks @Absurditure for reporting.