Update canvas when rendering to it