map: moved the logic to calculate offsets to the map instead of the renderer
layermodel: recalculate map offset on layer offset change