fixed bugs where scatterplot initial state would be changed by editor.