Fixed the dragging of the cookie