fix issue in transparent pdfs