Fix to drawCursorLine.

We should only draw a cursor line when specified.

It is now turned off by default.

Fixed tests around this.