Fixed some ThreeJS issues.