Fix text rendering bugs for Xamarin.iOS and Xamarin.Mac (Unified APIs)