Gantry starts and stops

So I had a similar issue awhile back and turned out the set screw that held the lead screw in place kept backing out but it’s starting up again! So I just replaced the top bearings on the gantry put everything back together but this issue was going on before the replacement of the bearings, so it’s a hit and miss, it will run right for one or 2 cut outs and then it’s like it glitches and pauses for second then it’s like the computer thinks the torch is farther along then what it is and messes up the whole cut! I don’t know if it’s an electrical problem or what.

There are a few other similar posts @ X Gantry randomly starting and stopping