Previously, outlines for elements without their own stacking context were painted during the `FocusAndOverlay` phase, which runs after all child stacking contexts. This caused outlines to incorrectly appear on top of elements with higher z-index.