Yellow Border on Screen During Streaming… Anyone know how to fix it?

Hey everyone, I’ve been getting a yellow border around my screen when I stream, but only when I’m in a game. It’s not there when I stream the game itself or when I share my screen outside of the game. But as soon as I get into a game while sharing my screen, this yellow border shows up and stays there until I stop streaming. It’s really annoying.

I found that going to Windows Start - Settings - Privacy and Security - Screenshot Borders and unchecking and rechecking the last box removes it temporarily, but it comes right back when I jump back into the game.

Has anyone else had this issue? Any fixes?

Pretty sure this issue is related to Windows, not Discord.