Make character-limited textarea behave more intuitively