### 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 (b->is_pressed() && b->get_button_index() == MouseButton::RIGHT && context_menu_enabled) {
			_update_context_menu();
			menu->set_position(get_screen_position() + get_local_mouse_position());
			menu->reset_size();
			menu->popup();
			grab_focus();
			accept_event();
			return;
		}
		if (is_middle_mouse_paste_enabled() && b->is_pressed() && b->get_button_index() == MouseButton::MIDDLE && is_editable() && DisplayServer::get_singleton()->has_feature(DisplayServer::FEATURE_CLIPBOARD_PRIMARY)) {
			String paste_buffer = DisplayServer::get_singleton()->clipboard_get_primary().strip_escapes();
			deselect();
			set_caret_at_pixel_pos(b->get_position().x);
			if (!paste_buffer.is_empty()) {
				insert_text_at_caret(paste_buffer);
				if (!text_changed_dirty) {
					if (is_inside_tree()) {
						MessageQueue::get_singleton()->push_call(this, "_text_changed");
					}
					text_changed_dirty = true;
				}
			}
			grab_focus();
			accept_event();
			return;
		}
		if (b->get_button_index() != MouseButton::LEFT) {
			return;
		}