fix box2d bug