ProgressTree._calculate_values now properly calculates max_value for the parent Bars