Although there is not a solution to this, a solution would be using a lodestone at 0, 0, assuming you are in 1.16. Though tedious, you could take ALL your compasses, and use them on the lodestone. Now, all of your compasses will point at the origin. However, every compass that you make must be used on the lodestone. I hope that this helps.