Fixed bug where game doesn't resume after screen is turned on again.