### Godot version

v4.2.rc.custom_build [702227129]

### System information

Godot v4.2.rc (702227129) - Debian GNU/Linux trixie/sid trixie - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (nvidia) - AMD Ryzen 5 1600 Six-Core Processor (12 Threads)

### Issue description

Found a consistent crash when calling `hide()` from `_notification()`.
It does not happen if the call is deferred.

### Steps to reproduce

The `hide_test.gd` script has a boolean `cause_crash`. If it is true, hovering the mouse over the label crashes without an error in the Godot Editor Console. If it's false it hides the label as expected.

### Minimal reproduction project

[hide_crash.zip](https://github.com/godotengine/godot/files/13452818/hide_crash.zip)

void _drop_mouse_focus();
	void _drop_physics_mouseover(bool p_paused_only = false);
	void _update_canvas_items(Node *p_node);
	friend class Window;
	void _sub_window_update_order();
	void _sub_window_register(Window *p_window);
	void _sub_window_update(Window *p_window);
	void _sub_window_grab_focus(Window *p_window);
	void _sub_window_remove(Window *p_window);
	int _sub_window_find(Window *p_window) const;
	bool _sub_windows_forward_input(const Ref<InputEvent> &p_event);
	SubWindowResize _sub_window_get_resize_margin(Window *p_subwindow, const Point2 &p_point);
	void _update_mouse_over();
	virtual void _update_mouse_over(Vector2 p_pos);
	virtual void _mouse_leave_viewport();
	virtual bool _can_consume_input_events() const { return true; }
	uint64_t event_count = 0;
	void _process_dirty_canvas_parent_orders();
protected:
	void _set_size(const Size2i &p_size, const Size2i &p_size_2d_override, bool p_allocated);
	Size2i _get_size() const;
	Size2i _get_size_2d_override() const;
	bool _is_size_allocated() const;
	void _notification(int p_what);
	void _process_picking();
	static void _bind_methods();
public:
	void canvas_parent_mark_dirty(Node *p_node);
	void canvas_item_top_level_changed();
	uint64_t get_processed_events_count() const { return event_count; }