Repair #84675 including style parameter in legend url