Fixed a warning in the Shatter demo.