### Godot version

4.0.stable

### System information

Windows 10

### Issue description

The Area2D and the Area3D do not trigger the signals mouse_entered and mouse_exited if the mouse is dragging from inside a Control. But, a Control triggers the signals mouse_entered and mouse_exited when dragging from another Control.
I don't know if this is intended, or it is a bug, but I think that the two nodes should behave the same.


https://user-images.githubusercontent.com/54667250/226214034-cd57654b-3bcf-4700-8cc3-e6ce256b03df.mp4


### Steps to reproduce

Execute the project below. When hovering the "Area" and the "Control", the color_rect turns red. But if dragging from the "Drag", only the "Control" turns red.

### Minimal reproduction project

[MouseInputTest.zip](https://github.com/godotengine/godot/files/11012484/MouseInputTest.zip)

ERR_MAIN_THREAD_GUARD;
	if (gui.subwindow_focused) {
		gui.subwindow_focused->push_text_input(p_text);
		return;
	}
	if (gui.key_focus) {
		gui.key_focus->call("set_text", p_text);
	}
}
Viewport::SubWindowResize Viewport::_sub_window_get_resize_margin(Window *p_subwindow, const Point2 &p_point) {
	if (p_subwindow->get_flag(Window::FLAG_BORDERLESS) || p_subwindow->get_flag(Window::FLAG_RESIZE_DISABLED)) {
		return SUB_WINDOW_RESIZE_DISABLED;
	}
	Rect2i r = Rect2i(p_subwindow->get_position(), p_subwindow->get_size());
	int title_height = p_subwindow->get_theme_constant(SNAME("title_height"));
	r.position.y -= title_height;
	r.size.y += title_height;
	if (r.has_point(p_point)) {
		return SUB_WINDOW_RESIZE_DISABLED; 
	}
	int dist_x = p_point.x < r.position.x ? (p_point.x - r.position.x) : (p_point.x > (r.position.x + r.size.x) ? (p_point.x - (r.position.x + r.size.x)) : 0);
	int dist_y = p_point.y < r.position.y ? (p_point.y - r.position.y) : (p_point.y > (r.position.y + r.size.y) ? (p_point.y - (r.position.y + r.size.y)) : 0);
	int limit = p_subwindow->get_theme_constant(SNAME("resize_margin"));
	if (ABS(dist_x) > limit) {
		return SUB_WINDOW_RESIZE_DISABLED;
	}