Changed to stop BGM when leaving the game page.