fix for black TN when pdf has transparent pages