Fix layout alignment with dynamic width.

Update pango layout's width if width has changed and alignment != left.
This should fix issue #102.