### 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.
Ref<StyleBox> style = theme_cache.normal;
	Ref<Font> font = theme_cache.font;
	int font_size = theme_cache.font_size;
	Size2 min_size;
	
	float em_space_size = font->get_char_size('M', font_size).x;
	min_size.width = theme_cache.minimum_character_width * em_space_size;
	if (expand_to_text_length) {
		
		min_size.width = MAX(min_size.width, full_width + theme_cache.caret_width);
	}
	min_size.height = MAX(TS->shaped_text_get_size(text_rid).y, font->get_height(font_size));
	
	int icon_max_width = 0;
	if (right_icon.is_valid()) {
		min_size.height = MAX(min_size.height, right_icon->get_height());
		icon_max_width = right_icon->get_width();
	}
	if (clear_button_enabled) {
		min_size.height = MAX(min_size.height, theme_cache.clear_icon->get_height());
		icon_max_width = MAX(icon_max_width, theme_cache.clear_icon->get_width());
	}
	min_size.width += icon_max_width;
	return style->get_minimum_size() + min_size;
}
void LineEdit::deselect() {