fixed positioning error in PDF export