Render canvas to image in new window