Fix crash in calibration screen.