clear canvas on remove state