I understand that the compass works as intended and points to the world spawn. What seems a little odd is when the spawn (a new world; survival; hardcore; no gamerule setting) is in another chunk. If we don't pay attention to that, we can have an error marking the spawn chunks.
Same here!
Minecraft Java 1.21.3