fixed single nodes being put in a long line
fixed mixing up width/height bug
Merge pull request #9 from msgmaxim/master

fixed issues with single nodes being put in a line and bb of components