Loading factory preferences from the preferences window and triggering a redraw then would cause the failing assert. We shouldn't mess with window-manager data when loading preferences only.