Cleanup skybox preparation code