box2dModel stage width bug

now sets stage width by quering canvas element