Fixed some level glitches