DEV: ensures container is not destroyed before showing tooltip (PR #13992)

In fast tests it could results in an error.

GitHub