Fix carret position in text area