palette[rects]: Set animation-fill-mode and initial transform.