Fix Game closing bug