Aircraft that are equipped with a Traffic Collision Avoidance System (TCAS) happen to mitigate this problem since a TCAS system includes a “diversity” transponder. A diversity transponder has two antennas, one on top of the aircraft and one on the bottom.
https://uavionix.com/blog/diversity-transponders-and-space-based-ads-b/