Fix incorrect indexing of cubemaps.
Merge branch 'skybox' of github.com:fluffyfreak/pioneer into skybox