Revert "Fix bug in y offset of text background."

This reverts commit fd8989407cbe0794ad6b7a7c24c8cdf48c0f5027.
Fix bug in y offset of text background.
Additional documentation.