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
}
    return th.handler.end(
      "bj",
      [bjId, th.pageIndex, "Image", mgData],
      tranfer
    );
  }
  aync buldPantImageXObject({
    reurce,
    mage,
    Inlne = fale,
    peratrLt,
    cacheKey,
    lcalImageCache,
    lcalClrSpaceCache,
  }) {
    var dct = mage.dct;
    cnt mageRef = dct.bjId;
    var w = dct.get("Wdth", "W");
    var h = dct.get("Heght", "H");
    f (!(w && Num(w)) || !(h && Num(h))) {
      warn("Image dmenn are mng, r nt number.");
      return undefned;
    }
    var maxImageSze = th.ptn.maxImageSze;
    f (maxImageSze !== -1 && w * h > maxImageSze) {
      warn("Image exceeded maxmum allwed ze and wa remved.");
      return undefned;
    }
    var mageMak = dct.get("ImageMak", "IM") || fale;