### 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 
virtual CursorShape get_cursor_shape(const Point2 &p_pos) const override;
	virtual Variant get_drag_data(const Point2 &p_point) override;
	void set_selection_enabled(bool p_enabled);
	bool is_selection_enabled() const;
	int get_selection_from() const;
	int get_selection_to() const;
	String get_selected_text() const;
	void select_all();
	void selection_copy();
	void set_deselect_on_focus_loss_enabled(const bool p_enabled);
	bool is_deselect_on_focus_loss_enabled() const;
	void deselect();
	int get_pending_paragraphs() const;
	bool is_ready() const;
	bool is_updating() const;
	void set_threaded(bool p_threaded);
	bool is_threaded() const;
	void set_progress_bar_delay(int p_delay_ms);
	int get_progress_bar_delay() const;
	// 
	PopupMenu *get_menu() const;
	bool is_menu_visible() const;
	void menu_option(int p_option);
	void parse_bbcode(const String &p_bbcode);
	void append_text(const String &p_bbcode);
	void set_use_bbcode(bool p_enable);
	bool is_using_bbcode() const;
	void set_text(const String &p_bbcode);
	String get_text() const;
	void set_text_direction(TextDirection p_text_direction);