fix logic bug in stopRenderingAndCapturing when only playback xor record...

... is used.