diff --git a/core/src/display_object/container.rs b/core/src/display_object/container.rs index 167c3a2866f3..e90fb6fd0716 100644 --- a/core/src/display_object/container.rs +++ b/core/src/display_object/container.rs @@ -459,6 +459,7 @@ macro_rules! impl_display_object_container { child.set_place_frame(context.gc_context, 0); child.set_parent(context.gc_context, Some((*self).into())); + child.set_removed(context.gc_context, false); self.0 .write(context.gc_context)