Fixes the Outline view in RTL languages, follow up of #2510

This patch attempts to address the outstanding issues with the outline view in RTL languages. See #2510.