Fix to cursor height for wrapped lines

Avoids issue caused by for non diff height styled lines