Added support for text alignment.
The canvas offset now is moved down when text is rendered by the height of the text.