Fixup for RTL
This MR fixes some issue found after merging 240d33ce:
- the selection marker is still placed on the left
- broken UI in Compact View mode when items are grouped (it's still a bit broken, but will be fixed later)
This MR fixes some issue found after merging 240d33ce: