canvas(config, shared)
attempt to reduce segfaults