fix editor focus