Fix autoresizing issue.