Fixed error while key navigating with spectrogram open.