textarea painter bug fix.