fix z-indexes and give random name to animations