Avoid resetting user tracking state when going from location or course tracking mode to heading tracking mode. Fixes #3710.