[editor] Fixed #8535 (Map Editor does not always increase object IDs after creation)

git-svn-id: https://mtasa-resources.googlecode.com/svn/trunk@1015 126a8462-9353-1474-c972-ef1b1113b2d6