Fix RTL issue in #979