Focus stealing on Windows 7

I have the somewhat common problem of Brave browser “stealing focus” or “non-active window jumps to front” or whatever else you want to call it. This happens randomly, and for example I can be typing or browsing in one window and then another window jump out in front. If I click on the original window, the other window is still in front. I have to click on the new window and then click on the old window to bring that back to the front again.
The only thing I have tried is going into the config menu and there was some setting (I forgot) about tab pop ups and I tried both settings but it didn’t fix the problem.

This only happens on my Windows 7 machine and neither of my Windows 10 machines.

Version 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit)
Extensions: uBlock Origin, Disable Download Bar, CrxMouse Chrome Gestures