Fixing spectrums not matching selected element.

This bug was introduced by switching to the jqueryui selectable plugin.
Merge branch 'master' into gh-pages