Works fine for me. You've probably got the setting in your configuration set wrong for "I-J" mode. It's best to use G-code to set this value, anyhow. Insert a g91.1 in your code and see if that fixes it, or change the value in "config> general config".