Fixes the text box cursor position.

The placement of the cursor sometimes was wrong under Windows. (The bug
could be reproduced under Linux by changing the configuration files.)

The problem was caused by the height of the text box and the permission
to wrap the text on a new line. This caused the cursor position to
return to the beginning of the line.

Fixes bug #17220 using patch #3822.
Remove a default argument.

Bug #17220 was probably a side effect of the default argument of
ttext::set_maximum_height. So make the argument mandatory and change all
current callers to the old default value.