fix for image tile coordinates
Merge remote-tracking branch 'upstream/master'
Merge pull request #43 from tomrink/master

byRef tiling improvement