Handling for text centering

Changelog: bugfix