Now handles dragging off target correctly