Speed fix when moving in the y direction
Speed fix when moving in the y direction