every game in existence where you can shoot at someone by simply clicking where they are either uses lag compensation or clientside hitreg, it's simply impossible to get around this
also players only teleport around on your screen in tf2 if you set your cl_interp very low