Increment frameNum only while recording