My harness expands the prompt into a json representation that specifies layout much more rigorously, which is why you see such that amount of alignment between the two.
That internal json backing helps significantly when you want to maintain consistent design system components/patterns across multiple pages. The aligned layout is it working as intended.