Fix some access modifiers in of UIElement