Fix legends for IE