### Godot version

4.1.beta.custom_build.824c139f6

### System information

EndeavourOs - Linux kernel 6.3.7-arch1-1

### Issue description

Pressing a button through an associated shortcut allow to ignore the button group attribute "allow_unpress".
Button can then be unpressed

The button properly stay pressed when you click on it, the issue seem to only come from "clicking it" with the shortcut

### Steps to reproduce

- Create multiple buttons linked with the same button group
- Associate a shortcut to each button
- Use the shortcut to "press" the already selected button

### Minimal reproduction project

[button_group_shortcut.zip](https://github.com/godotengine/godot/files/11745281/button_group_shortcut.zip)

return action_mode;
}
void BaseButton::set_button_mask(BitField<MouseButtonMask> p_mask) {
	button_mask = p_mask;
}
BitField<MouseButtonMask> BaseButton::get_button_mask() const {
	return button_mask;
}
void BaseButton::set_keep_pressed_outside(bool p_on) {
	keep_pressed_outside = p_on;
}
bool BaseButton::is_keep_pressed_outside() const {
	return keep_pressed_outside;
}
void BaseButton::set_shortcut_feedback(bool p_enable) {
	shortcut_feedback = p_enable;
}
bool BaseButton::is_shortcut_feedback() const {
	return shortcut_feedback;
}
void BaseButton::set_shortcut(const Ref<Shortcut> &p_shortcut) {
	shortcut = p_shortcut;
	set_process_shortcut_input(shortcut.is_valid());
}
Ref<Shortcut> BaseButton::get_shortcut() const {
	return shortcut;
}
void BaseButton::_shortcut_feedback_timeout() {