I made some codes of clicking and dragging images to stack at some point. It worked well at first few clicks, but when I stacked it at same spot several times it suddenly be