fix crash in metropolis renderer