add: var xrem = this.map.size.w % 2; var yrem = this.map.size.h % 2; if(xrem != 0 || yrem != 0) {  var olPx = viewPortPx.add(xrem, yrem); var moPx = this.getMapObjectPixelFromOLPixel(olPx); var moLoc = this.getMapObjectLonLatFromMapObjectPixel(moPx); var olLoc = this.getOLLonLatFromMapObjectLonLat(moLoc);  lonlat.lon += (olLoc.lon - lonlat.lon) / 2; lonlat.lat += (olLoc.lat - lonlat.lat) / 2; } 
context:     getLonLatFromViewPortPx: function (viewPortPx) {        var lonlat = null;        if ( (this.mapObject != null) &&              (this.getMapObjectCenter() != null) ) {            var moPixel = this.getMapObjectPixelFromOLPixel(viewPortPx);            var moLonLat = this.getMapObjectLonLatFromMapObjectPixel(moPixel);            lonlat = this.getOLLonLatFromMapObjectLonLat(moLonLat);        }        return lonlat;    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/7881c2099aa9f0e544d1d01411448d24c1b43694/EventPane.js/buggy/lib/OpenLayers/Layer/EventPane.js