Leveling issue need some help

Months ago a large cabinet loosed itself from the wall and fell on my table. I did what I could to get the table level. I replaced the casters, squared up the legs and leveled the gantry arm. The problem is when the y-axis is all the way out and the x-axis is furthest away from the start it rubs the metal. When they are reset at home (0,0) or closest to the beginning - it is shimmed/space properly. I cannot get it to be perfectly shimmed.

Just curious if anyone has any suggestions.