FIX: ensures hide is called when card is destroyed (PR #9814)

GitHub