### Godot version

4.1.dev 116f783db73f4bf7e9e96ae54dd3d0a20337cc8a

### System information

Godot v4.1.beta (116f783db) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 970 (NVIDIA; 31.0.15.1694) - Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 Threads)

### Issue description

Editor Output window RichTextLabel does not always update its scrollbar properly after print() calls. Looks like a regression from https://github.com/godotengine/godot/pull/78241, reverting it fixes this issue (but of course restores the bug it was fixing). CC @bruvzg 

### Steps to reproduce

1) Open the demo project
2) Make the Output window visible in the bottom view, press "Clear Output"
2) Run the project, notice how the output scroll does not follow the actual content added. In fact, the vertical scroll bar is not even visible. However, manually resizing the bottom view updates the layout and the scrollbar becomes visible and "jumps" to the end as expected.

Looks like printing a single line in _process() doesn't always update the scrolling. However, uncommenting the line in _ready() to print many lines in a single frame seems to be enough to update the scrolling and it starts working for the _process() prints, too.

### Minimal reproduction project

[OutputScrollBug.zip](https://github.com/godotengine/godot/files/11786216/OutputScrollBug.zip)

}
			}
			if (swap) {
				SWAP(selection.from_frame, selection.to_frame);
				SWAP(selection.from_line, selection.to_line);
				SWAP(selection.from_item, selection.to_item);
				SWAP(selection.from_char, selection.to_char);
			}
			selection.active = true;
			queue_redraw();
		}
		Variant meta;
		ItemMeta *item_meta;
		if (c_item && !outside && _find_meta(c_item, &meta, &item_meta)) {
			if (meta_hovering != item_meta) {
				if (meta_hovering) {
					emit_signal(SNAME("meta_hover_ended"), current_meta);
				}
				meta_hovering = item_meta;
				current_meta = meta;
				emit_signal(SNAME("meta_hover_started"), meta);
			}
		} else if (meta_hovering) {
			meta_hovering = nullptr;
			emit_signal(SNAME("meta_hover_ended"), current_meta);
			current_meta = false;
		}
	}
}
String RichTextLabel::get_tooltip(const Point2 &p_pos) const {