Support RTL alignment of images