Added proper support for dropdown menus in RTL