Merge "Use rotation from WindowConfiguration to rotate FoldingFeature to avoid race condition" into main