Fixes bug in tile offset computation.