In the military, you do not render a hand salute indoors. Indoors the salute is replaced by coming to attention. When an officer walks into a room or gives an order you come to attention. And you never render a hand salute uncovered (without a hat). And in the military, you never wear a hat indoors. So in this case when they render a hand salute without a hat indoors they're completely wrong.