Fixed issue when copy/pasting from another instance creates a new layer.