fixed issue where canvas elements were not removed after slide change