Fixed a small bug in a joystick-mouse driver.