This may not be useful information but some time back we had a similar problem to this and it turned out to be this:-
The machine was setup with 10 microsteps and low power standby, when the axis stopped moving it instantly went into low power mode and the motor snapped to the nearest full step. on restarting the motor continued from the full step point, we killed the power down mode and everything went back to working properly.