Fix tabs not closing on double-click when the active tab is a PuTTY connection.