Fix clear all method of canvas