Prevent click when drag and drop