Fixed possible crashes when Modal ViewControler conforms to ZXCaptureDel...

I Fixed possible crashes when Modal ViewControler conforms to ZXCaptureDelegate.