Fixed some player movement bugs