fix GViewController Dismiss bug