Fixes texture name if underscores used.

Fixes #6