The strange behavior of the canvas width

2 posts were split to a new topic: Help with Ball in square game?