Fix vertical layout calculations when newline has line-height property