Stained glass is rendered in front of clouds when above cloud level.
At y<126 they look normal
At y>127 they seem to be in/in front of the glass
1. Load a new World
2. Build up a 1x1 tower of stained glass to the maximum height
3. Open up Debug Screen to see where you are
4. Look at the clouds and constantly fly up until they change