Fixed a bug where clearing the instance cache would remove the geometry data as well.