frame: Don't reset window->rect
window-x11: Keep flags where they're used

Just a simple code cleanup
window: Construct the frame before the initial move_resize

This ensures sure that the initial ConfigureRequest we make is
correct.