Hi,
So ultimately HCF functions where it remember the last heading before the user ceases inputs to the NWS/Rudder Inputs, what can override the heading control in sim is anything from noise coming from input devices, weather. If possible attempt to view the input devices when the aircraft is taxiing in clear, calm winds, to see if there is any ghost inputs that could be occurring.
Thank you.