Improved Muzzleflash support

Fixes #3609 and flashes showing on all barrels simultaneously.