Fix references to figures.