If I understand correctly you are saying:
Whe printing a complex part your print head does unwanted movements back to a home position (either x or y axis) ?
I noticed that too on some occasions and it comes down to a buffer problem.
The printer takes longer to finnish a movement then the buffer can be emptied.
Try to increase the speed by about 15% to check if the problem goes away.