Why does the FPV or DJI mini GPS receiver lie so near the FC and is fine?

so it works, but if I turn on the lidar which is on the front I have many GPS glitches and the flight is not safe. without LiDAR flies well in loiter