add foreign canvas option