Fix scenegraph examples

Minor changes to reduce CPU usage in scenegraph examples. 
Also made `viewbox.py` resize with the canvas, and cleaned up `nested_viewbox.py`
Ready for review.