More straithgforward calculation of MAX_SAFE_Y
More straithgforward calculation of MAX_SAFE_Y

Co-authored-by: MoonE <0b7ff7cefed60b81c5401cbde0456dfab5aed9df@web.de>
openlayers/openlayers,stweil/openlayers,stweil/openlayers,adube/ol3,ahocevar/ol3,ahocevar/ol3,bjornharrtell/ol3,ahocevar/ol3,ahocevar/openlayers,stweil/openlayers,oterral/ol3,adube/ol3,openlayers/openlayers,stweil/ol3,oterral/ol3,ahocevar/openlayers,bjornharrtell/ol3,stweil/ol3,oterral/ol3,adube/ol3,bjornharrtell/ol3,ahocevar/openlayers,openlayers/openlayers,stweil/ol3,stweil/ol3,ahocevar/ol3