Properly fire hidden event when tooltip is destroyed

Fixes #13031.