Fix missing view variables