Fixed a crash with some particle effects.

More...