Textarea autofocus and flicker fix