Fix bug where preview is not updated when switching views