Preserve canvas reference in fabric.Object#toDataURL. Closes #938