building check glitch

first sorry if i would make any gramatical mistake.
ive found out a bug thats allow check any bulding on a map if enemy is inside it will flash on red
if player order infantry to enter this building this bug allow check any building on map
plis fix this s**t relic