Fixed most of header resizing issues.