In one project this appears to work ok, but in the one attached, selecting a trace and changing the layer results in the trace being disconnected and transformed (either rotated or translated to a new location).