Fix header resizing issue.