Removing unused renderer globals