fix bug when uploaded image from media dialog