Fixed exporting of frames.