Compasses used on the top of lodestone at y=255 do not break when the lodestone is destroyed
Using a compass on the top of a lodestone at y=255 sets the compass to the lodestone, but when that lodestone is broken, the compass remains pointing at where the lodestone used to be.