Basically when your in F5 mode, all blocks act like blocks, however with glass you can look through it, (inside of it) its like a ghost block.
Basically when your in F5 mode, all blocks act like blocks, however with glass you can look through it, (inside of it) its like a ghost block.
Intentional, see MC-175866.