Hide components without focus when input context is visible