Fixed copy-paste of subtypes in the editor