Fix for a drawTiles with non-zero center point