Fix pid option for canvas_init