Update vectorEditor/editor.js

selection bugfix