Fix detail view auto layout issues.