Added space for layout margins in size computation.