collision shape index onCollision and onEndCollision bug fix.