added an adjustment for right content insets when text view is right aligned.