fixed node selected status on click and double click