Path set to cyclic becomes twisted at the join?
I solved the problem. For some reason having the two end points that quite far away from each other created the artefact (although I'm not entirely sure why).