Change default resolution on OSX and fix crash when joystick isn't connected