fixing bug with back button in various games