MDL-42628 course management: improve RTL display