toDataURL via StaticCanvas

Fix for `toDataURL` not working without interaction module (issue #1891)
Merge pull request #1892 from shshaw/patch-1

Use StaticCanvas in toDataURL. Closes #1891.