Titanfall 2/Apex Legends Stop Refreshing Screen After Clicking Out of it

Whenever playing these two games, occasionally a pop-up will open up and it will prioritize that over the game and show that. I will then click back into my game, get into a safe spot, then click out to deal with whatever popped up. It also happens when I change it from windowed to fullscreen, as it often opens in windowed
After I have done that though, the game will stop updating the picture (sound still works, button inputs are registered, and I can hear my mouse moving around over menu buttons) after a few seconds. The only way to get it to resume is to click out and back in again, but a few seconds later it freezes the image again.
I run the game in fullscreen with two monitors, and I was wondering if there is any way to prevent this without changing those two things, as the only way to fix it is to quit and restart the game.
Pictures about "Titanfall 2/Apex Legends Stop Refreshing Screen After Clicking Out of it"



How do I fix the glitch cursor in Apex?
Apex Legends Keep Crashing? Try these FixesHow do I stop Apex from crashing?
There may be multiple reasons why your Apex Legends is constantly crashing. Most of these are due to hardware compatibility issues, instead of Respawn's server performance.Why does my Apex keep crashing 2022?
Update or downgrade your graphics driver. This is the most common issue that will cause your game to crash. Check your driver for updates, or if you recently updated it and the game begins to crash, try downgrading it. Reinstall Apex Legends and Origin or EA app.Titanfall 2 Crash Bug and How To Fix it
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: CocaKolaLips, Vojtech Okenka, Anna Shvets, Lukas