ERROR IN THREEJS PACKAGE: (list) object cannot be coerced to type 'double'