Focus editor the right way when clicking editor area