bug fix: selectedNode of tonescale caused ArrayIndexOutOfBoundsException