Guidance on RemoveChild and AddChild

Excellent point, you’re right that it shouldn’t be done in process like that. Ive added a comment with the solution that Ive found below, but this was also part of the problem. Thanks!!