Fix getOrCreateViewGenerator