Fix calculating offset position in go-autocomplete.el