It's not a bug, it's a feature.
I've said it countless times, back in the starting days of Il-2
The exact story behind it, I don't know. But british gyro instruments had a tendency to do that kind of thing. The instrument will slowly erect itself if you fly straight and level for a few minutes.