Merge "Take RTL layouts into account for bounding rect alignment" into main