fix a few things related to fit-to-tracks and toggle-visual-state