fix SwapView:blanck screen when clicking during transition, fixes #15832