Fix a crash in the WaveProgressUI element.