I may have found where the bug is occuring with the movement along the y-axis