Corrected cursor setting for line buffer (always line 0).