Fixed connected texture derp in glass panes.

The reason I'm making this PR is because I used the connected textures code for my mod, fixed this issue, and would feel bad if I didn't give back to TiC :D