Call init_canvas when canvas is mapped