Merge "Defer PB animation if previous window cannot show with snapshot." into main