Possible fix for #1661
Improved player movement, check once per tick