Fix cut and paste of custom node.