Improved estimation for empty-content node height

This address the issue that when a node only has one input/output pin
but no image, the line separating the title and content is still draw
(#19)