removed hard reference to canvasId
inform Camera about changes in the size of the Canvas
moved Viewport definition to main
define viewport with explicit parameters