This onBounding method is called whenever a nodes bounds is calculates by LiteGraph/ComfyUI, which is called whenever a group recomputes its nodes. In the case of rgthree-comfy's Fast Groups nodes, groups may calculate their nodes between when a video preview node is "drawn" causing flickering.
Looks like the
onBounding
method on video preview moves the preview "offscreen" if called multple times before a draw is called.https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/blob/b86c1f9f4516faccb83c8957f0516443596def6b/web/js/VHS.core.js#L477-L481
This onBounding method is called whenever a nodes bounds is calculates by LiteGraph/ComfyUI, which is called whenever a group recomputes its nodes. In the case of rgthree-comfy's Fast Groups nodes, groups may calculate their nodes between when a video preview node is "drawn" causing flickering.
Source issue: https://github.com/rgthree/rgthree-comfy/issues/111