Fix wrapping of header when exceeding container