player movement glitch fix