Fixed something in Game::gameLoop