fix cubemap lighting with scaling