box2d: fixed bug in copying ChainShape