Fix crash when toggling retro