Various fixes
LineD3D, BallD3D CubeD3D