### 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 ((text.length() <= 0) || (caret_column == 0)) {
		return;
	}
	text = text.left(caret_column - 1) + text.substr(caret_column);
	_shape();
	set_caret_column(get_caret_column() - 1);
	_text_changed();
}
void LineEdit::delete_text(int p_from_column, int p_to_column) {
	ERR_FAIL_COND_MSG(p_from_column < 0 || p_from_column > p_to_column || p_to_column > text.length(),
			vformat("Positional parameters (from: %d, to: %d) are inverted or outside the text length (%d).", p_from_column, p_to_column, text.length()));
	text = text.left(p_from_column) + text.substr(p_to_column);
	_shape();
	caret_column -= CLAMP(caret_column - p_from_column, 0, p_to_column - p_from_column);
	if (caret_column >= text.length()) {
		caret_column = text.length();
	}
	if (!text_changed_dirty) {
		if (is_inside_tree()) {
			MessageQueue::get_singleton()->push_call(this, "_text_changed");
		}
		text_changed_dirty = true;
	}
}
void LineEdit::set_text(String p_text) {