Fixed player movement issue