Fix for MOSYNC-2700 "CameraDemo panic on iOS Simulator"