Merge "Do not transfer starting window if requested orientation isn't match." into main