X position flipping during carve

Hello,

I have a new X-50 journeyman I’m trying to setup. I’m trying to cut a grid into the waste board. For some reason during the cut when the spindle reaches around x=43 the sign of the position suddenly flips to x=-43 and the machine continues to run into the side rail trying to reach positive 48. This error only occurs when running the file. I can jog the machine around to all positions with no issue using the gamepad. Where do I even begin troubleshooting such a thing? It flattened the waste board just fine and there’s nothing funky in the code of the grid file.

Maybe a homing glitch? I know sometimes when I home mine, It doesn’t always hit the limits.