Removed duplicated calculation of bounding rect for display name