Fix bug/issue with importing PDFs, re: bad pointer to /Resources reference object