Some fixes to the skybox rendering