X-axis encoder acting up

Check your motor and encoder inversion settings. If toggling those doesn’t work, try experimenting with different movement and encoder settings. Visiting troubleshooting failed movements could help rule out a non-equalized gantry or other hardware issue, but from what you’ve described, it sounds like the only change was the software.