Fix crash when click SEND on image file.