Fix particles crash