On Chrome-based browsers, clicking on the embedded canvas that shows the stream (inside of this div) triggers a mouseleave event, which is handled by handleMouseLeave, and subsequently the div loses the focus.
This makes it impossible to interact with the stream after clicking on it until a mouseenter event is retriggered (by for example moving the mouse again).