Don't let textarea grow bigger than the current window

Bug: 69092
Change-Id: I10c2cbfdfa5c6d74b98d7c45e1c060911a7f20b4