Fix overlay issue in rtl