reset canvas everytime