Fix for page transitions.