Handle HIDDEN/SHOWN window events similarly