Make sure only the visible widgets are saved with the notebook.
Fab CSS
Fix bug introduced by #6216