Dragged image UI bug fix