#115 fix implementation of textAlign 'center'