fixed bug that prevented quitting from pause screen