Fix joystick detection