GROOVY-3969: Groovy Console forgets size of input area

Patch supplied by Tai Siew Joon
Merge pull request #251 from PascalSchumacher/GROOVY-3969

GROOVY-3969: Groovy Console forgets size of input area