Minor fix for Preferences dialog.