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

Fixed possible crashes when Modal ViewControler conforms to ZXCaptureDelegate.