Fixed RTL support in IE7 and IE8.