threejs r55 + r56 compat

fixes #3