Coincidentally, I have also run into the issue. I can confirm and reproduce the flickering issue with Google Chrome and Chromium-based browsers. Tested with Google Chrome and Chromium Edge. The issue is absent with Firefox. In my case, hovering over a video preview on Reddit causes the behavior. Like the OP, YouTube, Twitch and other media websites are fine.
After some preliminary searching, it appears to be an issue with Chrome even way back as version 80 and is being experienced by other people. I can also confirm that disabling hardware acceleration solves this. Furthermore, I have observed that this crashes the browser and causes a memory leak.
I know disabling hardware acceleration is not a satisfying solution, but how about trying disabling hardware decoding only? This solved it for me. Open chrome://flags/#disable-accelerated-video-decode then check back on your apps if they are functioning properly.
At least this appears to be a software problem on the side of Chrome. Your Framework is fine. If hardware acceleration is mission critical for you, maybe consider Firefox until this is address by Chrome/Chromium.