Change GameEngineDirective to be an element containing a canvas rather than an attribute of a canvas