If you haven't already done so, I would start with a full calibration of all the systems, IMU, Compass, and toss in the gimbal for good measure. You may be able to determine in anyone of these systems are failing you due to the accident.
Good luck, sorry for your problem.