This is the same thing as Vim cursor doesn't match character width. The buttons are not updating the HTML but the hotkeys are. Using Next/Prev fiddles with something in the DOM still because I see the nodes with matches flash when I click those buttons.