Fixed another layout bug

Very hard bug to reproduce:
Turn off wordWrap to prevent a Text element's height from increasing
several fold, then turn wordWrap back on after layout to enable
textAlign="center" to work.