If I alt-tab and do stuff outside of the game window, the game still captures mouse clicks (both left and right clicks).
The game doesn't "consume" the clicks, since they are also sent to the application that has the focus.
But it's rather annoying to hear a gunshot each time you click in your internet browser...
Also, the problem occurs even if the game is set to fullscreen.