Bluetooth headphones disconnect when switching windows

On windows 10, my bluetooth headphones will disconnect audio when I play a video in another screen. It requires me to restart my bluetooth in order to reconnect audio.

Have you tried updating your Bluetooth Drivers and checking your PC for updates?