Fix bugs preventing multiple objects from being rendered.