Attach (recommended) or Link to PDF file here: https://d15k2d11r6t6rl.cloudfront.net/public/users/Integrators/a0a42ab5-3cb9-4912-84b7-3c6e47330d5c/smart-pr-805/Consumentenfolder_A5_zonder_paskruizen%20_2.pdf (and the similar other files under "Informatiefolder" on https://news.pressmailings.com/hvdm/partnertoolkit)

Configuration:
- Web browser and its version: Firefox 84.0 (64 bits)
- Operating system and its version: Arch Linux
- PDF.js version: 2.7.262 (built-in) and 2.7.434 (development version at time of writing)
- Is a browser extension: no

Steps to reproduce the problem:
1. Open the linked PDF file linked above.
2. Notice that the first page is rendered completely broken. There are no warnings/errors in the console unfortunately, and it's not related to layers since the document does not contain any.

What is the expected behavior? (add screenshot)
![good](https://user-images.githubusercontent.com/1993262/103363234-e158d580-4aba-11eb-9eb7-fe0db9f0a193.png)

What went wrong? (add screenshot)
![broken](https://user-images.githubusercontent.com/1993262/103363239-e4ec5c80-4aba-11eb-9f7d-3edac62ece3c.png)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): -
transferMapGreen = transferMaps[0];
        transferMapBlue = transferMaps[0];
        transferMapGray = transferMaps[0];
        break;
      case 4:
        transferMapRed = transferMaps[0];
        transferMapGreen = transferMaps[1];
        transferMapBlue = transferMaps[2];
        transferMapGray = transferMaps[3];
        break;
    }
  }
  
  
  if (imgData.kind === ImageKind.GRAYSCALE_1BPP) {
    
    const srcLength = src.byteLength;
    const dest32 = new Uint32Array(dest.buffer, 0, dest.byteLength >> 2);
    const dest32DataLength = dest32.length;
    const fullSrcDiff = (width + 7) >> 3;
    let white = 0xffffffff;
    let black = IsLittleEndianCached.value ? 0xff000000 : 0x000000ff;
    if (transferMapGray) {
      if (transferMapGray[0] === 0xff && transferMapGray[0xff] === 0) {
        [white, black] = [black, white];
      }
    }
    for (i = 0; i < totalChunks; i++) {
      thisChunkHeight = i < fullChunks ? FULL_CHUNK_HEIGHT : partialChunkHeight;
      destPos = 0;