Fixed textured hexes code

Textured hexes are not automatically generated using the provided
texture as a background image.