fix not hidden flyouts
Merge pull request #1368 from MahApps/1339-punker76-hidden-flyout-bug

fix not hidden flyouts