fixed can not select image from library.