Refine fix for #3478

This is a refined attempt at #3478. Rounding the line-height up a pixel seems to fix it.

@TomMalbran Can you take a look?