Fix three.js loader