can you explain why you changed the sequence of positionTile and renderTile here?