Handle z0 case for bboxToTile

Fixes #8 -- thanks @ericfischer @morganherlocker