Correction to: Nature Communications https://doi.org/10.1038/s41467-024-46980-8, published online 3 April 2024

The original version of this Article contained an error in the schematic of Fig. 4a. The depiction of the magnetic field lines in Fig. 4a did not align with the description provided in the figure caption and the main text. Figure 4a is now redrawn and corrected in both the PDF and HTML versions of the Article.