Do not reset when codePane loses focus