fix for issue with certain pdfs

pdf.js issue
https://github.com/mozilla/pdf.js/issues/3885

commit that solved the problem
https://github.com/mozilla/pdf.js/pull/4011