Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-025-01972-9, published online 28 May 2025.

In the version of this article initially published, due to a figure preparation mistake, in the Fig. 3e, Control column, the DAPI blue channel was an inadvertent duplicate of Fig. 3d, E12.5–E16.5. The figure has been amended in the HTML and PDF versions of the article.