Fork of Xith3D with some fixes that we use