Fix crash on IFF export