fixed SceneNode index problem

The SceneNode indices of GameObjects would be one place
higher than they should be, causing abnormal memory
access.