### 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.
_toggle_draw_caret();
				}
			}
		} break;
		case NOTIFICATION_DRAW: {
			int width, height;
			bool rtl = is_layout_rtl();
			Size2 size = get_size();
			width = size.width;
			height = size.height;
			RID ci = get_canvas_item();
			Ref<StyleBox> style = theme_cache.normal;
			if (!is_editable()) {
				style = theme_cache.read_only;
			}
			Ref<Font> font = theme_cache.font;
			if (!flat) {
				style->draw(ci, Rect2(Point2(), size));
			}
			if (has_focus()) {
				theme_cache.focus->draw(ci, Rect2(Point2(), size));
			}
			int x_ofs = 0;
			bool using_placeholder = text.is_empty() && ime_text.is_empty();
			float text_width = TS->shaped_text_get_size(text_rid).x;
			float text_height = TS->shaped_text_get_size(text_rid).y;
			switch (alignment) {
				case HORIZONTAL_ALIGNMENT_FILL:
				case HORIZONTAL_ALIGNMENT_LEFT: {
					if (rtl) {