correctly scaling cubemap textures