Fixed crash on dealoc if view had not been loaded