Thanks for the suggestion, this is in. A mounted gun's barrel and receiver are drawn on top of the gunner and the sandbags in front of it, but the game was still treating the gun as if it sat underneath them, and it was checking the gun's shape as if it always pointed straight ahead. So when you put the mouse on the gun you could see, you got the sandbag or the gunner instead, and once the gunner swung the weapon the clickable shape was no longer under the picture at all.
Now the gun is clicked exactly where it is drawn. Anywhere you can see the barrel, the receiver or the ammo box, including where they overlap the gunner or hang over sandbags and trenches, your click lands on the gun, and the clickable shape turns with the weapon as the gunner aims. Anything lying underneath the gun can still be clicked on the part that shows, or picked from the right click menu for that tile. This covers the tripod guns: the M60, the M2, the MK19 and the flamer turret.
Revision: master commit 22950af8e, in-game version v0.1.7203 and later (the grey version string top-right in the client). It will be in the next build pushed to the launcher.