Fix bug in highcharts