Fix issue of applying ellipsis with negative line spacing