Don't ignore child component margins in AbstractOrderedLayout (#11553)

Change-Id: I89d8364b97bfe7d072cc7e5221b35ab3cdb3c58b