Converting canvas to image doesn't work

Seems to work just fine: https://jsfiddle.net/h6grw9a8/3/

Note, that you have to set preserveDrawingBuffer to true when creating the renderer.