Fix fallback to defaults in preferences