Resign first responder when view is destroyed.