Focus the terminal container when leaving the iframe.