When stage.toDataUrl fails, call fallback function