fix bug that dynamic rendered element can't be merged correctly