Include margins in height calculation.