Fixed right to left layout bug.