Better player movement handling.