Fix for RTL languages

Fixes the gravity for right-to-left languages.