Fixed photopicker bug