Fixing broken self.view reference