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

Configuration:
- Web browser and its version: Firefox nightly
- Operating system and its version: linux debian
- PDF.js version: built-in viewer
- Is a browser extension: no

Steps to reproduce the problem:
1. Open the pdf page 2
2. Checkbox "Alta" in section 2 must be checked

It works fine with evince.
if (params.collectFields) {
      
      
      
      const kids = dict.get("Kids");
      if (Array.isArray(kids)) {
        const kidIds = [];
        for (const kid of kids) {
          if (isRef(kid)) {
            kidIds.push(kid.toString());
          }
        }
        if (kidIds.length !== 0) {
          this.data.kidIds = kidIds;
        }
      }
      this.data.actions = collectActions(
        params.xref,
        dict,
        AnnotationActionEventType
      );
      this.data.fieldName = this._constructFieldName(dict);
      this.data.pageIndex = params.pageIndex;
    }
    this._fallbackFontDict = null;
  }
  /**
   * @private
   */
  _hasFlag(flags, flag) {