fix wp8 template crash bug by modefy font resource's properties

#8806 related