Fix a crash when copying paths that have a loop.
Fix a crash when copying arcs that were created with arc_to.