only resizing of canvas fix second demo