Fix levels glitch