I’m guessing this might be the same Chrome bug as in
I just discovered the CSS property caret-color which gives a hacky but effective workaround - set the caret to transparent in selectNode and back to visible in deselectNode.
Not a solution for the problem in that thread, but works for my situation.