Fix crash when cooling down.