Fix issue with pref panes not loading