Force preview window to refresh on every save

This fixes a recent bug that caused the preview pane to not refresh after any save.