Chipmunk engine collision detection error

I am developing a game using Cocos Creator v1.3 and Chipmunk engine. In my game, I have a rectangle body and a square body which collides with a static circle body.

Issue:
I found that the rectangle body passes through the static circle body. The issue only happens when the rectangle body’s edge collides with the circle. However, the same issue doesn’t exists with the square body.

Code logic:
I am applying Box shape to the rectangle and square bodies. I am applying Circle shape to the circle body.

I would appreciate any suggestions/thoughts on this issue.

Do they all have the same collision type? Perhaps show us a snippet of your code?

The collision type of the rectangle body and the square body is same. The circle body has different collision type so that I can detect collision of rectangle-circle and square-circle.