Fixed an issue with the legend fill