Fixed NodeGraph resizing to crop rather than scale.

Fixes #10.
Merge pull request #729 from johnhaddon/nodeGraphCropping

Fixed NodeGraph resizing to crop rather than scale.