SpectrumAnalyzer: fixed spectrum painting

Variable aliasing due to code style fixes introduced a regression in the
darken() method.