Update to canvas to not destroy browser resources with dom updates