Fix corruption of follow playhead state on quit (#4048).