Window: Don't set interactive move offset if the last saved geometry is invalid
Refactore handleInteractiveMoveResize to make it possible to calculate new move/resize geometry without applying it. This will allow to resolve visual issues when the window gets moved by dragging when it's still in maximized state.
Don't set interactive move offset if the last saved geometry is invalid, which happens when the wayland window opens in a maximized state, and which leads to dragging position reset to the top left corner of the window. Instead, wait for a new window geometry from the client and then set the offset and calculate the correct dragging position.
Edited by Ser Freeman