Fixed some LevelManager bugs