Make <canvas> actually work with node-canvas.

Fixes #619, which was introduced by 6ed9c6bc0d882c034e8710dc23e6d01e35f52255.