Fix joystick bug