Focus on editor in 4ms

Wasn't focusing after switch, this solves the issue