Correcting possible joystick errors.