[[ Bug 12814 ]] Redraw after setting textDirection