Correction to: Nature Communications https://doi.org/10.1038/s41467-024-48218-z, published online 07 May 2024

The original version of this Article contained an error in Fig. 3f, in which the layer stacking mode incorrectly read ‘ABC’ rather than the correct ‘ACB’. This has been corrected in both the PDF and HTML versions of the Article.