Fixed a bug in the FFT window.