anchor.diff:    end;
   
     // Restore viewport params
  +  gGameSettings.ZoomBehaviour := zoomBehaviour; // before Resize
     Resize(screenX, screenY);
     gGame.ActiveInterface.Viewport.Zoom := zoom;
     gGame.ActiveInterface.Viewport.Position := pos;
  
positive.code:   screenX, screenY, w, h: Integer;
    zoom, mapSizeX, mapSizeY, mapSizeMax, saveSizeMax: Single;
    pos: TKMPointF;
    pixelData: TKMCardinalArray;
  begin
    if gGame = nil then Exit;
  
negative.code:     screenY := gRender.ScreenY;
      zoom := gGame.ActiveInterface.Viewport.Zoom;
      pos := gGame.ActiveInterface.Viewport.Position;
      zoomBehaviour := gGameSettings.ZoomBehaviour;
  
      // calc resize dimensions
      // We show MapX - 1 tiles
  