Adapt canvas to screen size.