Fix for StackView not reseting style properties properly.