Why does the image multiply when dragging it? How can I avoid it?