Fix display of Spectral Analysis when no tracks are selected.

Spectral Analysis now displays graphs for selected regions, even when there
are no tracks selected. Fixes #2226.