fix: fix bugs on hidden a pie chart