fixed issue 592: Text direction RTL