Fixed 3 errors that would result in infinite loops

This error occured when a shader contained one of the folowing things.

Any variable named:
- ???struct???
- ???uniform???
- ???attribute???

The ??? can be replaced with anything for example:

- test_struct
- testattribute
- first_uniform_test
- uniform_test