Fixed bug when a view, revealed after the top controller had popped, didn't recognize pan gesture