Fix exception in Room frame when deleting objects.