Fixed bug when largest image was smaller than tile
Slowly getting better...