when switching between record and play modes, the same frame image stays on the canvas