fix problems with singletons referencing world/renderer