I would also check your steps per mm calibration.
This is an excellent post by @LiamN that goes into detail on calibration and squaring.