Fixed auto layout warnings.