only resizing of canvas fix

this pull request is only to see the effect of the canvas window not the nodes that are drown off canvas. 
the canvas is with black solid border in order to be visible its size and effect on resize event on the atom viewer.