Update header size when being shown.