I am reparenting window, while moving it (modal move/size loop was started by SC_MOVE). Windows retains client coordinates of child even with new parent window. To prevent this jumping, I move, after changing its parent, window to same position (in screen coordinates) it had before. This works well, but child window is still briefly displayed at its right-after-reparenting position. How can I eliminate this?