Buggy mouse input