Fix max height issue.