Fix missing view reference