Fix textarea bug - #397

see #397