The runtime has to control the position of the canvas in order to know how mouse/touch input event co-ordinates relate to layouts, and to correctly position form controls. That's pretty difficult if it gets placed in a div. It's also not clear why you would want to do that instead of using an iframe.