Fixing movement glitch.