### Godot version

v4.0.rc1.official [8843d9ad3]

### System information

Windows 11 Pro 64Bit

### Issue description

Hi,

Found a rather annoying bug in 4.0 RC1 official on Windows 11:
When right clicking on a function in code and selecting "Lookup Symbol" - it does not always work?
Sometimes it works, sometimes it does not work?

Any ideas?

Jesse

### Steps to reproduce

Right click on a function in code and select "Lookup Symbol".
(it does not work always?)

### Minimal reproduction project

N.A.
MAIN_GUTTER_BREAKPOINT = 0x01,
		MAIN_GUTTER_BOOKMARK = 0x02,
		MAIN_GUTTER_EXECUTING = 0x04
	};
	int main_gutter = -1;
	void _update_draw_main_gutter();
	void _main_gutter_draw_callback(int p_line, int p_gutter, const Rect2 &p_region);
	
	HashMap<int, bool> breakpointed_lines;
	bool draw_breakpoints = false;
	
	bool draw_bookmarks = false;
	
	bool draw_executing_lines = false;
	
	int line_number_gutter = -1;
	int line_number_digits = 1;
	String line_number_padding = " ";
	void _line_number_draw_callback(int p_line, int p_gutter, const Rect2 &p_region);
	
	int fold_gutter = -1;
	bool draw_fold_gutter = false;
	void _fold_gutter_draw_callback(int p_line, int p_gutter, Rect2 p_region);
	void _gutter_clicked(int p_line, int p_gutter);
	void _update_gutter_indexes();
	
	bool line_folding_enabled = false;
	
	enum DelimiterType {