Fixed the DOM canvas issue. The canvas element was moved inside the DOM which caused problems with embedded generators. The element is now static.