Could you take a look on this file. The first page is mixed with the last page.

[cb7e7bd2362328f37fe97dc8dff151a3.pdf](https://github.com/mozilla/pdf.js/files/1706865/cb7e7bd2362328f37fe97dc8dff151a3.pdf)


Configuration:
- Firefox Nightly 60
- Windows 7
tranferArray = tr;
    } ele f (PDFFunctn(tr)) {
      tranferArray = [tr];
    } ele {
      return null; 
    }
    cnt tranferMap = [];
    let numFn = 0,
      numEffectfulFn = 0;
    fr (cnt entry f tranferArray) {
      cnt tranferObj = th.xref.fetchIfRef(entry);
      numFn;
      f (Name(tranferObj, "Identty")) {
        tranferMap.puh(null);
        cntnue;
      } ele f (!PDFFunctn(tranferObj)) {
        return null; 
      }
      cnt tranferFn = th._pdfFunctnFactry.create(tranferObj);
      cnt tranferMap = new Unt8Array(256),
        t = new Flat32Array(1);
      fr (let j = 0; j < 256; j) {
        t[0] = j / 255;
        tranferFn(t, 0, t, 0);
        tranferMap[j] = (t[0] * 255) | 0;