Fixed marker bug when changing data sets