tilecache_seed.py - range() type float exception

tilecache_seed.py crashes sometimes, with range() unexpected float exception.
This workaround helps to make it stable...