The game's net code is the real problem. If your opponent on his client sees you in LoS where you are actually out of LoS in your client. He can still hit you.