Fix for some null pointers when working with Simulator, fixed ZXingScannerView when using iOS6 constraints