fix removeObject/removeCanvas