added target argument to engine.webgl.resize() call in engine.webgl.init()