replaced engine.webgl.clearColor array with engine.webgl.clearColor object