That is a rendering library problem, not a OSM data “problem”.
If you use Leaflet, this may help:
https://stackoverflow.com/questions/38820724/how-to-display-leaflet-markers-near-the-180-meridian