Fog glitch while rendering with ultra dynamic sky

See the documentation, there is a setting in the component called “Transform Mode”. You need to change that to component transform