Can be remove when https://github.com/mozilla/pdf.js/pull/3815/files#r7088258 is addressed.