Merge "Fix settings crash during pathological rotate."