fixing legend style for Chrome