AnnotationManager.exportAnnotations does not export all visible annotations

Hey there,

I cannot reproduce this issue unfortunately. Here is the code im using to test:

  document.addEventListener("keydown", () => {
    i.Core.annotationManager.exportAnnotations().then((xfdf) => {
      const annots = i.Core.annotationManager.getAnnotationsList();
      i.Core.annotationManager.deleteAnnotation(annots);

      i.Core.annotationManager.importAnnotations(xfdf);
    });
  });

Basically I am exporting annotations, then deleting all annots and then reimporting the exported XFDF. Every time import is called all the freehand annotations are there as expected.

Do you have any other code that may be interfering with annotations? Or any other code you think may be relevant?

Thanks,
Logan