Fix bug with reverting a composition/canvas not being deleted