diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index d45f80225..1b9ab2f8c 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -83,7 +83,6 @@ iD.Map = function(context) { map.dimensions(selection.dimensions()); labels.supersurface(supersurface); - mouse = iD.util.fastMouse(supersurface.node()); } function pxCenter() { return [dimensions[0] / 2, dimensions[1] / 2]; } @@ -313,6 +312,7 @@ iD.Map = function(context) { surface.dimensions(dimensions); context.background().dimensions(dimensions); projection.clipExtent([[0, 0], dimensions]); + mouse = iD.util.fastMouse(supersurface.node()); setCenter(center); return redraw(); };