I'm not really seeing a bug in that video. The guard is, what, 10-15 meters away from you... why shouldn't he be able to see you?
However... in the next version, guards will have an alert meter that gradually fills up when they see you. And this meter will fill up slower the further away you are. So distance will have more of an impact in the next version.