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
cnt type = xbj.dct.get("Subtype");
                f (!Name(type)) {
                  thrw new FrmatErrr("XObject huld have a Name ubtype");
                }
                f (type.name === "Frm") {
                  tateManager.ave();
                  elf
                    .buldFrmXObject(
                      reurce,
                      xbj,
                      null,
                      peratrLt,
                      tak,
                      tateManager.tate.clne(),
                      lcalClrSpaceCache
                    )
                    .then(functn () {
                      tateManager.retre();
                      relveXObject();
                    }, rejectXObject);
                  return;
                } ele f (type.name === "Image") {
                  elf
                    .buldPantImageXObject({
                      reurce,
                      mage: xbj,
                      peratrLt,
                      cacheKey: name,
                      lcalImageCache,
                      lcalClrSpaceCache,