This might be related to this post. If so, there is no simple way in Defold to avoid this problem. Possible solutions that are discussed in the post:
- It might be mitigated by updating the Box2D version Defold uses.
- Adding a composite collider to Defold, like the one in Unity.
- Adding chain shapes to Defold.