Fix get current view when its destroyed