Fix some subtle timing bugs in the clustering animation (h/t Nicko).