closed #4944: fixed bug: physics engine crashes occasionally when remove...

... bodies at physics contact callback.