Fixed a bug in GamePanel's changeLevel(Level).