Fix crash when uploading media from gallery