Fixed the tilemap rendering based on scaleRatio.

Only the tiles within the game.width and game.height were loaded
based on the tile width and height from the json. It caused only the
tiles from the top left to be loaded. The width and height has to
be passed along when creating the layers, so it knows which range of
the tilemap it has to load. Only then are they resized.