dragging fixed, bug with imagename not reverted fixed