fixed movement glitch