Fix bug in engine initialization
Improved snow example