Fixed auto layout issues.