Fixed MainResourceAppearance in platform theme