Made LineInput rendering draw a cursor position