Fix header active span width when zooming in or out.