Fixes the crash on death.