Fixed recording issues when leaving GameScreen.