Fixed imagepicker bug on ipad