Problem with box2d and debug draw

I use code from this site and all is ok without cocos2d-html5. (see screenshot normal.png)

But if I use the same code in my cocos2d-html5 project I see problem in Box2d and debug draw. (see screenshot bad.png)

I have attached my project. (TestGame~~>src~~>GameField.js)

Thanks a lot!


CocosProjects.zip (520.2 KB)


bad.png (11.4 KB)


normal.png (14.6 KB)