fixed #3375. chapter8 of parkour game with cocos2d-html5