Issue #5096: Solve the problem about chipmunk

Solve the problem about chipmunk