Merge "Let TaskSnapshotWindow compute its window frame" into tm-dev