Fix h4 positioning around graphs