fix some error

'emitCounter' did not init and when update 'particles' it will reach a
null prop