Faulty compass, replace the compass PCB in the RH leg will most likely solve these issues, there was a spate of these recently, possible faulty batch!
The PCB is easier to replace than sending it to DJI and if you can solder it can be done in about 30 mins without opening the drone. Other wise...