Fix crashing when starting tutorial on examples.