Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)
We should see the kusion buttons whenever right-clicking on the main.k of a stack
3. What did you see instead (Required)
after opening or closing windows in terminal panel, the kusion buttons on right-clicking disappears.
4. What is your KusionStack components version? (Required)
no matter