/setworldspawn does not update compass
It's not exactly a bug, more like an improvement to a new feature.
With the new "/setworldspawn" command, it would be logical to make compasses point to the new world spawn. I'm sure many players would appreciate that, especially in singleplayer.