toDataURL via StaticCanvas

Fix for `toDataURL` not working without interaction module (issue #1891)