Fix UIImagePickerController source type check