Fix for issue #728. Cube map textures for non-skyboxes weren't supported (normals pointing inward).