Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-024-01659-7, published online 27 May 2024.

In the version of this article initially published, due to a figure preparation mistake, in Fig. 3c, the representative image shown for +Vika/+Cre was an inadvertent duplicate of the +vCre/+Cre image. The +Vika/+Cre image is now updated in the HTML and PDF versions of the article.