Fix bug in y offset of text background.