Fixes #1663: Fixed typo in how node width is computed