Fixed any texture other than 256x256 not working with EnvMapAppearance