Made WebVR.html work with RenderBatch.js