Fix max header line width calculation.