Add on_resize and canvas.show()