Added fix for tile map tearing when scaling tilesets.