Bugfix PDF orientation

PDF orientation moved from PDFStart to PDFStop to take it in account as
late as possible.