fixes in CubeMapUtils