Fix broken references to figures