fix cursor after open_file

see https://github.com/SublimeText/Issues/issues/39