I can't say I've seen the bug that Greslin mentioned, but I do know it's a "normal" graphical bug for it to not show the wepons being fired during a raider/deathclaw/molerat/radroach attack. Your dwellers will still deal damage to the attackers at the normal rate for the weapons they have, it just happens invisibly while they run around like chickens with their heads cut off. My theory is that it does this because some weapons have a minimum distance at which their firing animation will play, and if the attackers are right on top of your dweller, your dweller will try to relocate to a position further away. Sometimes (frequently with weapons like the minigun), there's nowhere for them to go that satisfies this requirement, and they never "fire."