Fix sidebar rendering for RTL