Fix mistake in LoS calculation