Fixed updateRigidBody. RigidBody.getCollisionFlags always return 0