Go into your Window Layout and change the "When I click to focus a game window" option to "Ignore the click"