Delete images when deleting painting