Fix markers view for RTL languages (part of #2696).