Attach (recommended) or Link to PDF file here: https://mozilla.github.io/pdf.js/web/viewer.html

Configuration:
- Web browser and its version: Edge
- Operating system and its version: win10
- PDF.js version:
- Is a browser extension: false

Steps to reproduce the problem:
1. Select ink editor
2. Draw anything
3. Scroll to last page
4. Draw anything
5. Cancel select ink editor
6. Scroll to first page
7. Text Selection does not work

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

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

this.#createAndAddNewEditor(
      this.#getCenterPoint(),
       true
    );
  }
  /**
   * Set the last selected editor.
   * @param {AnnotationEditor} editor
   */
  setSelected(editor) {
    this.#uiManager.setSelected(editor);
  }
  /**
   * Add or remove an editor the current selection.
   * @param {AnnotationEditor} editor
   */
  toggleSelected(editor) {
    this.#uiManager.toggleSelected(editor);
  }
  /**
   * Check if the editor is selected.
   * @param {AnnotationEditor} editor
   */
  isSelected(editor) {