We have a bunch of problems with sky:
- Wrong coordinates in reflections
- Intersections with landscape (D1401)
- Hard-coded size values.
The patch solves all these problems. It adds only one issue: the sky is in infinity. So all clouds move together with the camera. I suppose, that it's not the real issue, because a size of a map much smaller than the distance to clouds in real world. So it's correct to use infinity.
It solves the problem mentioned by @elexis in D1401, that all maps are different and have different sizes.