diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 1af88171f61..b91a4b810fa 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -3022,6 +3022,7 @@ bool Viewport::gui_is_dragging() const { } void Viewport::set_input_as_handled() { + _drop_physics_mouseover(); if (handle_input_locally) { local_input_handled = true; } else {