Fixes setup and draw in examples.

fix for missing curly brackets in the examples.