Fix cursor placement to be centered between list elements