Fix crash with start recording button/hotkey and invalid encoder settings

In case the encoder failed to initialize (making Start call Stop)
StartRecording would try to access invalid objects (since Stop deleted
them)