Fixed small bug in particle engine demo.