There was a bug, where an enemy spawned inside a building of the edge and was thus invulnerable, but still able to shoot me.
Thanks for the heads up! Was this on the city level?