Prevent FOUC for CSS transitions.