minor bug fix for the scatterplot view