bug(rtl): fix inputs on RTL locales

Fixes #1341