Check dragging in the select command.