Shields can affect immaterial (immortal) creatures. These are the only cards that can affect immaterial creatures. This "targeting" that you speak of isn't targeting, but rather a reactionary effect of their attack passing through a shield (e.g. Fire Shield, Thorn Carapace, Ice Shield).
If you can provide more evidence of this bug in detail with screenshots, then this spec bug can be dissected a bit more.