See https://github.com/mpdf/mpdf/pull/1291
See mpdf/mpdf#1291