Fix crash on playback