Fixed search input's text cursor being on wrong position