Fix bug when adding to a parent container