fix True Mercator projection calculations, close #1578