Fix cursor line