Fix: when copying a top-level component, it was not possible to continue copying its children because the corresponding child component had not been updated to the componentMap, resulting in an error when continuing to copy its children because it was not found.
Fix: when copying a top-level component, it was not possible to continue copying its children because the corresponding child component had not been updated to the componentMap, resulting in an error when continuing to copy its children because it was not found.