Bug in caching map image, any help?