Fixed derpiness of connected textures.
Well, I guess not
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
Merge pull request #534 from alix-the-alicorn/master

Fixed the derp in connected textures.