If i add a comment to method UpdateAdornments in OnTagsChanged, i found when i collapse or expand a block of code it, the icon renders well.
UpdateAdornments
OnTagsChanged
Test result: