PDF: fix rendering regression (bug 695089)