Destory surface prior to destroying the view. #615