Fixed cannot dismiss by dragging in iOS8 beta2 #6