fix for animated tilemap