better de-/activatng window with glow or not

fixes a minor nasty bug with de-/activating a window with or without
glow and with or without border
Merge branch 'master' of https://github.com/MahApps/MahApps.Metro