removed non-existent GC.app.getCanvas. changed engine.getElement to getCanvas.