Fixed long hidden bug where children[] not reset on destroy()ing them.
Fixed long hidden bug where children[] not reset on destroy()ing them.

foam-framework/foam,jlhughes/foam,jlhughes/foam,foam-framework/foam,foam-framework/foam,jlhughes/foam,jlhughes/foam,foam-framework/foam,foam-framework/foam