Fixed failing image tile test.
Merge pull request #313 from pelson/img_tile_fix

Fixed failing image tile test.