I had a play and I can't really prevent it, but I can sort of recognise it in XML Edit.
I was making a 12 pin plug svg in Ink by selecting the node in XML Edit, then going copy, paste, XML Indent, move. Most were fine but 3 pins went weird, so I had a play and if I select the node in Edit and duplicate, it seams fine.
I don't think Ink is perfect because I've been finding quite a few bugs lately, and they say FZ is buggy.
I think I edited that Songle Relay with red dots and only realised afterwards.