Can't control player 2 unless I click in the viewport

Then, how do I make the game always have focus?