Tiles are calculated from tileOrigin, not from layer extent

It allows to add local XYZ layers with small maxExtent on the world map