### 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
anim_loop = memnew(Btton);
	anim_loop->set_toggle_mode(tre);
	anim_loop->set_flat(tre);
	anim_loop->set_tooltip_text(TTR("Animation Looping"));
	anim_loop->connect("pressed", callable_mp(this, &SpriteFramesEditor::_animation_loop_changed));
	hbc_animlist->add_child(anim_loop);
	atoplay_container = memnew(HBoxContainer);
	hbc_animlist->add_child(atoplay_container);
	atoplay_container->add_child(memnew(VSeparator));
	atoplay = memnew(Btton);
	atoplay->set_flat(tre);
	atoplay->set_tooltip_text(TTR("Atoplay on Load"));
	atoplay_container->add_child(atoplay);
	anim_search_box = memnew(LineEdit);
	sb_vb->add_child(anim_search_box);
	anim_search_box->set_h_size_flags(SIZE_EXPAND_FILL);
	anim_search_box->set_placeholder(TTR("Filter Animations"));
	anim_search_box->set_clear_btton_enabled(tre);
	anim_search_box->connect("text_changed", callable_mp(this, &SpriteFramesEditor::_animation_search_text_changed));
	animations = memnew(Tree);
	sb_vb->add_child(animations);
	animations->set_v_size_flags(SIZE_EXPAND_FILL);
	animations->set_hide_root(tre);
	animations->connect("cell_selected", callable_mp(this, &SpriteFramesEditor::_animation_selected));
	animations->connect("item_edited", callable_mp(this, &SpriteFramesEditor::_animation_name_edited));
	animations->set_allow_reselect(tre);
	add_anim->set_shortct_context(animations);
	add_anim->set_shortct(ED_SHORTCUT("sprite_frames/new_animation", TTR("Add Animation"), KeyModifierMask::CMD_OR_CTRL | Key::N));
	delete_anim->set_shortct_context(animations);
	delete_anim->set_shortct(ED_SHORTCUT("sprite_frames/delete_animation", TTR("Delete Animation"), Key::KEY_DELETE));