M300 dual layer shift on material change

I have a persistent problem with my m300 dual
every time I change a spool of material mid print , when the printer resumes the print, there is always a massive layer shift… and im talking 20 to 30 mm in the x axis …
all the belts are good, the axis rods are good, everything is greased and nicely calibrated .
if i don’t change material , there is no issue. also this happens ( layer shift) after blackout restart
its driving me crazy why is this ? please help


Could you send me photos, zcodex and zprojx files?

Is it shifting only in the X Axis?

Also information which Firmware and Z-Suite version you are using.

Best Regards