Fix editor turnOff focus

Editor should lose focus when is turned off