this stopped working after updating three.js. I'll see what's the matter.