Layout fix for prefs-dialog.