Resizing and repositioning nodes causes user's selection handles to flicker

Any time I resize or reposition a node, Figma temporarily hides the user’s selection indicator (blue rectangle and handles) and makes it visible again after a delay (or the user moves their cursor over the canvas.)

My plugin repositions some temporary nodes it creates a lot in order to give the user live feedback about their changes in a document, but the selection flicking makes this super disruptive and distracting.

Is there a way to change a node’s geometry without triggering this selection behavior?