PDF: handle annotations on rotated pages better