Attach (recommended) or Link to PDF file here:
[backgroundimage_not_visible_anonymisiert.pdf](https://github.com/mozilla/pdf.js/files/6544725/backgroundimage_not_visible_anonymisiert.pdf)


Configuration:
- Web browser and its version: Chrome Version 90.0.4430.212 (Offizieller Build) (x86_64)
- Operating system and its version: Windows 10, MacOs BigSur
- PDF.js version: 2.5.207
- Is a browser extension: no

Steps to reproduce the problem:
1. open the document in demo viewer.js
2.

What is the expected behavior? (add screenshot)
The backgroundimage gets rendered like in Acrobat Reader
<img width="1348" alt="Bildschirmfoto 2021-05-26 um 09 44 21" src="https://user-images.githubusercontent.com/1286150/119621970-00a82480-be07-11eb-8fed-f74ac04b840b.png">

What went wrong? (add screenshot)
Backgroundimage is not rendered only some  text
<img width="987" alt="Bildschirmfoto 2021-05-26 um 09 43 57" src="https://user-images.githubusercontent.com/1286150/119621938-fab24380-be06-11eb-92ac-4ecb2c9334b1.png">




Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

let xa, car, cag, cab;
  let xb, cbr, cbg, cbb;
  for (let y = minY; y <= maxY; y++) {
    if (y < y2) {
      let k;
      if (y < y1) {
        k = 0;
      } else if (y1 === y2) {
        k = 1;
      } else {
        k = (y1 - y) / (y1 - y2);
      }
      xa = x1 - (x1 - x2) * k;
      car = c1r - (c1r - c2r) * k;
      cag = c1g - (c1g - c2g) * k;
      cab = c1b - (c1b - c2b) * k;
    } else {
      let k;
      if (y > y3) {
        k = 1;
      } else if (y2 === y3) {
        k = 0;
      } else {
        k = (y2 - y) / (y2 - y3);
      }
      xa = x2 - (x2 - x3) * k;
      car = c2r - (c2r - c3r) * k;
      cag = c2g - (c2g - c3g) * k;
      cab = c2b - (c2b - c3b) * k;
    }