fix drag&drop of images