Fix a bug that occurred when creating a new map with an existing one loaded. Entities were not being cleared.