modified Box2D debug to position boxes in the correct place on the canvas