Hey,
we have encountered an error with PDF.js. We were able to duplicate it and prepared little demonstration. In the attached PDF, there are two fields: "field1" labeled "Origin field" and "field2" labeled "Calculated field". "field2" takes value from "field1". Now to problem:

HOW TO REPLICATE:
Open PDF in PDF.js. In the field “field1” enter value, let’s say “24”. The fields are calculated. Save the PDF and close. Open it again. In the field “field1“ change the value to “48”. The fields are calculated. Now change it back to “24”. The fields won’t calculate.
Tested in Safari, Firefox, Chrome & Win10, MacOS.

EXPECTED BEHAVIOR:
Calculate every field no matter what was initial value.

[error.pdf](https://github.com/mozilla/pdf.js/files/10101473/error.pdf)

case AnnotationType.SQUARE:
        return new SquareAnnotationElement(parameters);
      case AnnotationType.CIRCLE:
        return new CircleAnnotationElement(parameters);
      case AnnotationType.POLYLINE:
        return new PolylineAnnotationElement(parameters);
      case AnnotationType.CARET:
        return new CaretAnnotationElement(parameters);
      case AnnotationType.INK:
        return new InkAnnotationElement(parameters);
      case AnnotationType.POLYGON:
        return new PolygonAnnotationElement(parameters);
      case AnnotationType.HIGHLIGHT:
        return new HighlightAnnotationElement(parameters);
      case AnnotationType.UNDERLINE:
        return new UnderlineAnnotationElement(parameters);
      case AnnotationType.SQUIGGLY:
        return new SquigglyAnnotationElement(parameters);
      case AnnotationType.STRIKEOUT:
        return new StrikeOutAnnotationElement(parameters);
      case AnnotationType.STAMP:
        return new StampAnnotationElement(parameters);
      case AnnotationType.FILEATTACHMENT:
        return new FileAttachmentAnnotationElement(parameters);
      default:
        return new AnnotationElement(parameters);
    }
  }
}
class AnnotationElement {