Merge pull request #14 from Sambod50/master

Fixes issue #9 - painting issues while dragging nodes.
only resizing of canvas fix