Fixed bug in Surface Viewer demo.