I have not noticed this until flying the Comanche, because previously, even with gyro drift turned on, no planes displayed this behavior.
With the Comanche, when the directional indicator does not match the compass heading, the GPS heading also drifts. When the gyro directional indicator is aligned with the magnetic compass heading, then the GPS heading is aligned as well.
The problem with this is that these are independent systems. The GPS gets its fix from satellite data. The gyroscopic heading indicator is capable of holding directional data, and points to the correct heading even when the plane turns, but it does drift over time and needs to be realigned with the magnetic compass. Both gyro drift, and realignment should not impact the track being displayed by the GPS, but that is exactly what is happening.