Add a polyline around the world in debug page
Use a static defaultMagnetPoint

This avoid geometries to be redrawn in the opposite of the world after
zooming and panning.
In the same time, use an option, to make the defaultMagnetPoint customizable.