Tweak some settings to try to make the android port not crash when switching window