fixed the tile retrieving to get the right coordinates, now go on with translating the imagelayers into position.