Fix SetModel not deleting children properly