Fixed a bug in hawkPDF