Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-025-02064-4, published online 3 October 2025.

Since the version of the article initially published, the y-axis labels in Fig. 1b and 8d have been corrected to “3D dorsal view” in the HTML and PDF versions of the article.