Either your steps per are not right, your code is not right, you are losing steps on an axis or you have axis scaling on one axis.
How close mechanically are your X and Y in configuration, ie is it the same screws and motors and drives? How close are the steps per unit in the two? Hood