Headset Mic stop responding when opening another desktop tab, is there a reason why and is there a way to fix it?

So I'm been test running the obs studio on the computer with the imperion hs-g51 silver shield headset to record me talking, but every time I open or changes to another desktop tab (especially those from nearly any steam games), obs studio completely stop the mic audio but the desktop audio is still working. Need help in how to fix it.