The idea with the line is to purge and prime the print head.

If after this command, the print is starting in the wrong place, it sounds like a the following on code to set the print head to the correct position is missing or incorrect.

Sorry, I am not familiar with the software, so cannot really advise where to look any further.