Issue #5096: Solve the problem about chipmunk

Issue #5096: Solve the problem about chipmunk