Remove resetStyleInheritance