Address bug causing unwanted page breaks

We are following the instructions at the end of this comment:

  https://github.com/dompdf/dompdf/issues/854#issuecomment-52379638