Better rtl support for inline edit buttons.

Fixes #58