It has nothing to do with making a new xml, well it does in a way but it is not the xml that is the issue.
The issue is as Tweakie says, the IJ mode set as default in your xml.
Your code has the IJ mode one way and Mach is set default the other way. That is why in good code there will be a G90.1 or G91.1 at the start to tell Mach which mode to use.
Hood