Fixed image positioning and layout in the pdfout module.