fix the bug that  i  is incorrect after remove a  object
Merge pull request #1273 from NijiadeIX/develop

fix the bug : i is incorrect after remove a object