Fixed issue #485: Image picker issues on iOS

See issue details for explanation