Implemented applyScaleXTransformation().
The canvas dimension now depends on the window dimension.
Extracted updateCanvasSizes().
No margins for the body.