Everything should be passing a list of entities to a function that computes a bounding box and fits things now.
The viewer would try to call updateEntityElement, but the entity would be deleted, causing an error.