glitch doesnt happen with regular glass item, but if you put any type of glass block in front of a sea, then have any stained or tinted glass item fall in front of it, glass blocks becomes transparent, happens the same if you are holding a stained glass item while sleeping
What graphics do you use (fast/fancy/fabulous)? Also, what's your graphics card?