Exactly. It needs to be the focused window. Anytime you click on any other screen you need to click back on the main one afterwards. Even if you don´t have your game running there a click on another screen gets it focused so game rendering loses its priority. It´s very frustrating but that´s how it works in multimonitor setups.
Cheers