### Godot version

v4.1.beta.custom_build [d3651ea45]

### System information

Windows 11

### Issue description

![1](https://github.com/godotengine/godot/assets/28705694/15c14c93-7ad7-425a-8fb0-bef841b75527)

It's not possible to start text selection on a SpinBox when it's unfocused.

Note: After a bit of digging in the code, I found that clicking on a SpintBox doesn't trigger `SpinBox::gui_input` no matter if it's focused or not. However, releasing mouse left button does trigger the function.

### Steps to reproduce

See the gif.

### Minimal reproduction project

It's simple to reproduce.
if (right_icon == p_icon) {
		return;
	}
	right_icon = p_icon;
	_fit_to_width();
	update_minimum_size();
	queue_redraw();
}
Ref<Texture2D> LineEdit::get_right_icon() {
	return right_icon;
}
void LineEdit::set_flat(bool p_enabled) {
	if (flat != p_enabled) {
		flat = p_enabled;
		queue_redraw();
	}
}
bool LineEdit::is_flat() const {
	return flat;
}
void LineEdit::set_select_all_on_focus(bool p_enabled) {
	select_all_on_focus = p_enabled;
}
bool LineEdit::is_select_all_on_focus() const {
	return select_all_on_focus;
}
void LineEdit::clear_pending_select_all_on_focus() {
	pending_select_all_on_focus = false;
}
void LineEdit::_text_changed() {