window: Don't sync window geometry when we haven't shown it yet