Fixes player moving at sqrt(2)/2 faster when moving diagonally