I'm not sure this is a bug but it seems like it. Whenever my rogue is invisible or in successful sneak mode(5 in sneak no line of sight) sometimes ranged enemies will attack him anyway.(mages archers)