Fixed bug where attributes were not set in both Container parents