Fix GetLegendGraphic with scale on Categorized or Graduated symbol