:bug: fixed focus feature

Now rendered ace editor gets focus and puts the cursor at the very top
of the file.