Arducopter Drifting to a direction in AltHold mode

My quadcopter is drifting in a direction while in althold mode independent from wind or anything else. Turning around the yaw axis doesn’t effect the drift direction.
İt was flying well before this and I don’t think changed anything after that flight.
FOC is pixhawk 2.4.8 and there is a M8N gps+compass connected. I thought the reason could be campass error so tried testing each of them seperatly and it didn’t make a difference.
Other modes are working fine.
Here is the log file.

Check the RC transmitter trims.

Add follow: Methodically tune (almost) any multicopter using ArduCopter 4.4.x