Handle RTL context in input extender widget

(bug 55922)
Handling the RTL context correctly again in the the input extender widget.

Change-Id: Icab8c73175468d7f6f6dbcb6311c2d35de8b630c