XSplit Vcam FPS drop/lag

Hello, I’m currently using a Logitech stream cam with xsplit vcam to remove the background while I’m streaming. Everything is fine until I load up a game, all of a sudden the camera footage drops in frames and gives off a freezing/lagging video. While the game is still running, I Alt tab to keep the game in the background and the problem still persist until I click on the xsplit software then the problems fixed. I go back into the game and boom, problem is back. So it seems unless I have the actual application “clicked on and prioritized in front of other applications” the camera footage is poor. I have a 3060 RTX and have updated drivers *Update: I believe it’s only happening with a specific game - Warzone