Fixed a bug in the snow effect.