fix bug that dynamic rendered DOM can't trigger event correctly