Fix hasLegend property.