Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509