Fixed a bug that caused the tooltip to be too short with long names.