Ensure disabling Hover Preview detaches its listener from whatever document
it was last attached to.