Fix legend formatting on Chrome for Windows.