maprenderer: screenToTile and tileToScreen accept Layer instead of TileLayer
maprenderer: the grid is drawn in an offset according to a given layer. Implemented only for isometric.
isometricrenderer: include drawing margins in the map size