Fix for legend colors on IE10 and Firefox