Fixed infinite loop on dragEnd when speed: 0