Viewport: Fix lagging overlay clipping rectangle on viewport owning window (affecting sync of multi-layered docking overlays). This was extremely tricky to find and fix (*). (#1541)
(*) Merely assigning viewport->Pos = pos in UpdateMovingWindow() broke a series of thing because the code that assign viewports and viewport flags relied on moving window leaving its own viewport the first time to set the NoInputs flag.
if(moving_window->ViewportOwned)// Synchronize viewport immediately because some overlays may relies on clipping rectangle before we Begin() into the window.
// Transition to our own viewport when leaving our host boundaries + set the NoInputs flag (which will be cleared in UpdateMovingWindow when releasing the mouse)
// If we are already in our own viewport, if need to set the NoInputs flag.
boolown_viewport=window->Viewport->Window==window;// We test window->Viewport->Window because window->ViewportOwned is not valid during this function.