Fix style issue with transitions.