Corrected coordinate transformation results

Corrected coordinate transformation results accordning to MapServer #4499 (https://github.com/mapserver/mapserver/pull/4499). Verfied by third-party software.