fixes issue where outerheight does not include margin