Fixed a bug when rendering bclyt without textures