### Godot version

master ([06ccbfe](https://github.com/godotengine/godot/commit/06ccbfe8eec6e840db3df2360dc2804386f940b8))

### System information

PopOS 22.04

### Issue description

Sometimes the doc page is broken when the engine is closed and then restarted.
Closing the doc and opening it again fixes it.

![2023-05-27_22-15](https://github.com/godotengine/godot/assets/3624853/ed202a55-03e8-420a-bc1c-ccfc7f7cd02a)


### Steps to reproduce

- Open a documentation page for any node
- Restart Godot

### Minimal reproduction project

NA

EDIT : Added the commit hash @Calinou 
void set_offset(int p_pixel);
	void set_meta_underline(bool p_underline);
	bool is_meta_underlined() const;
	void set_hint_underline(bool p_underline);
	bool is_hint_underlined() const;
	void set_scroll_active(bool p_active);
	bool is_scroll_active() const;
	void set_scroll_follow(bool p_follow);
	bool is_scroll_following() const;
	void set_tab_size(int p_spaces);
	int get_tab_size() const;
	void set_context_menu_enabled(bool p_enabled);
	bool is_context_menu_enabled() const;
	void set_shortcut_keys_enabled(bool p_enabled);
	bool is_shortcut_keys_enabled() const;
	void set_fit_content(bool p_enabled);
	bool is_fit_content_enabled() const;
	bool search(const String &p_string, bool p_from_selection = false, bool p_search_previous = false);
	void scroll_to_paragraph(int p_paragraph);
	int get_paragraph_count() const;
	int get_visible_paragraph_count() const;
	float get_line_offset(int p_line);
	float get_paragraph_offset(int p_paragraph);
	void scroll_to_line(int p_line);
	int get_line_count() const;
	int get_visible_line_count() const;
	int get_content_height() const;
	int get_content_width() const;
	void scroll_to_selection();
	VScrollBar *get_v_scroll_bar() { return vscroll; }