I'm not sure if this is a bug, but it doesn't make sense.
You point the top machine gun to the 12 o'clock position to spot tanks, jump down to the turret to shoot the enemy tank, and when you go back to the top machine gun it's facing the 3 o'clock position.
I don't understand why the machine gun doesn't stay where you leave it.