Fix the particle effect bug in the last commit.