Detect EXT_swap_control_tear on Windows
Fix minor bug processing joystick data on android