fix for tile maps