Workaround for XS bug #20838
https://bugzilla.xamarin.com/show_bug.cgi?id=20838