When stiching dual-extrusion remove all the moves between layers and give the switching code a new position to move to.