Fix showing leave confirm when leaving or voting

This change disables the leave confirmation whenever the player is voting for a server or map, or clicked the leave gather button.