Fixed the bug that can not be re-selection of image