### Godot version

d93b66ad4d6b1dae42cc318c16224d03bd1a1472

### System information

arch linux

### Issue description

The editor redraws continuously after running a scene with F5 / F6, but this does not happen when running a scene with the buttons in the upper right of the editor. Redrawing does not stop until the editor is closed. This can cause the system to run hot and drain battery quickly.

### Steps to reproduce

Enable update spinner if not enabled in editor settings.
Press F5 or F6 to run a scene.
Notice the spinner going even after the scene is closed.

### Minimal reproduction project

none
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() {
	in_shortcut_feedback = false;
	queue_redraw();
}
void BaseButton::shortcut_input(const Ref<InputEvent> &p_event) {