Changed minimum line length on text input and cursor position (gravity).