Now the level is properly cleared when going to the next level.