Fixed version of PDFPreview