Interesting that this came up as we were just talking about the homing sequence in this thread.
I don’t see any G28’s (homing) in “Change filament G-code”.
Adding a X/Y homing call (G28 X Y) here may help but depending on the repeatability of the Bambu’s homing sequence it may also make things worse as it re-references the print location.