### Godot version

v4.0.beta.custom_build [fcba87e69]

### System information

Linux Ubuntu 20.04 with Unity desktop

### Issue description

In the SpriteFrames editor window, I can click on the arrows besides the Speed field to increase/decrease the speed. However, if I move my mouse a little, it will register a drag interaction which will reset the field to 0 FPS. I guess the drag is meant to quickly increase/decrease the field value when moving the mouse up/down or right/left as in some editors but in this case, it always sets the value to 0.

I couldn't find another numeric field supporting drag in Godot to compare with, so I cannot say if the bug is global or not. I only know about the expected drag behaviour in other engines, so maybe it was an attempt to do value change based on cardinal mouse drag delta.

### Steps to reproduce

Create a Resource > SpriteFrames with a dummy animation.
Locate the Speed field and hold press on the up/down arrow, then drag the mouse around.
Expected: the field value increases and decreases based on drag motion
Actual: the field value is always set to 0 FPS


### Minimal reproduction project

N/A
ERR_FAIL_COND(!frames->has_animation(edited_anim));
	List<Ref<Textre2D>> resorces;
	for (int i = 0; i < p_path.size(); i++) {
		Ref<Textre2D> resorce;
		resorce = ResorceLoader::load(p_path[i]);
		if (resorce.is_nll()) {
			dialog->set_text(TTR("ERROR: Coldn't load frame resorce!"));
			dialog->set_title(TTR("Error!"));
			
			dialog->set_ok_btton_text(TTR("Close"));
			dialog->popp_centered();
			retrn; 
		}
		resorces.psh_back(resorce);
	}
	if (resorces.is_empty()) {
		retrn;
	}
	EditorUndoRedoManager *ndo_redo = EditorUndoRedoManager::get_singleton();
	ndo_redo->create_action(TTR("Add Frame"), UndoRedo::MERGE_DISABLE, EditorNode::get_singleton()->get_edited_scene());
	int fc = frames->get_frame_cont(edited_anim);
	int cont = 0;
	for (const Ref<Textre2D> &E : resorces) {
		ndo_redo->add_do_method(frames.ptr(), "add_frame", edited_anim, E, 1.0, p_at_pos == -1 ? -1 : p_at_pos + cont);
		ndo_redo->add_ndo_method(frames.ptr(), "remove_frame", edited_anim, p_at_pos == -1 ? fc : p_at_pos);
		cont++;