Fix to drawing selection in last line of wrapped lines.