Fix the SvgViewer example to reflect recent API changes