Merge to master.
Revert "Merge to master."

This reverts commit b9541a4665b0525aaa76dd507089564dbbbee02d.
Fix issue #5545 by adding right and bottom padding to each text element so that they are placed next to eachother. Without any space between text elements, text selection is much more consistent.