       nodeView = view node.data
       ctx.font = "10pt Times"
       {width, height, count} = util.textSize ctx, nodeView
-      width = Math.max(height, 160)
+      width = Math.max(width, 160)
       height = Math.max(height, 60)
 
       color = if node.data.first then "blue" else "green"

    else
      for key, value of data
        text.push "#{value} (#{key})" unless key is 'first'
      text = text[0..10]
    line[0..28] for line in text

  setKeyFilter: (keyFilterString) ->
    if keyFilterString?.trim() is ''

    view = @defaultView

  defaultView: (data) ->
    # If keyfilter is active then show all properties ("keys") passing the filter.
    # Otherwise only show 3 props but indicate how many there really are.
    text = []
    usedKeys = {first: true}
    if keyFilter?.length > 0
