fixed RemoveChild(Object*) function