Only applying CenteredHeading style if the element was actually centered.