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

Configuration:
- Web browser and its version: Chrome and Version 98.0.4758.102 
- Operating system and its version: Windows 10
- PDF.js version: Using  "ngx-extended-pdf-viewer": "^12.0.0-alpha.2" which a wrapper around Mozilla's PDF viewer
- Is a browser extension: No

Steps to reproduce the problem:
1. Open the attached pdf document in 'https://mozilla.github.io/pdf.js/web/viewer.html?'
2. Search for text 'message persists' and 0 results are found
3. Open the attached document with Chrome 
4. Search for text 'message persists' and '1' result is found
5. Open the attached document in Adobe Acrobat Reader
6. Search for text 'message persists' and '1' result is found

What is the expected behavior? (add screenshot) 
Search result for 'message persists' should be 1

> 

**CHROME:**

![image](https://user-images.githubusercontent.com/83689440/156544876-00a04401-68b0-4087-aa4a-330666e44fe6.png)

**ADOBE ACROBAT READER**

![image](https://user-images.githubusercontent.com/83689440/156544978-e95b2e8b-7dcc-4347-a832-dd4f65b7fa36.png)

What went wrong? (add screenshot)
Pdf.js not able to find the text 'message persists'.

**Pdf.js**

![image](https://user-images.githubusercontent.com/83689440/156545187-21ca3752-6754-4c3a-b7ea-c5f3a1e18424.png)


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

cnt [gStateKey] = gStateObj[j];
            wtch (gStateKey) {
              cae "TR":
              cae "TR2":
              cae "HT":
              cae "BG":
              cae "BG2":
              cae "UCR":
              cae "UCR2":
                gStateObj.plce(j, 1);
                jj--;
                cntnue;
            }
            j;
          }
          break;
      }
      ;
    }
  }
}
cla StateManager {
  cntructr(ntlState = new EvalState()) {
    th.tate = ntlState;
    th.tateStack = [];
  }
  ave() {
    cnt ld = th.tate;
    th.tateStack.puh(th.tate);
    th.tate = ld.clne();