Game Freezes When Switching Monitors

It’s not consistently doing it, but if I swap to my second monitor, pause a video or something of the like, and swap back to War Thunder, my game freezes. I then have to restart. This has been going on for months

This might explain my freezes too. (app, not machine)