Fixed crash error when kill enemy.