Prevent background overflowing TimeText

Merge of https://gerrit.wikimedia.org/r/#/c/87284/1 

Currently TimedText sometimes uses a bigger font-size but not a bigger
line-height. This sometimes causes TimedText's background to clash with
the text resulting in horizontally cut-off texts.