Alexandre Julliard : user32: Check the active window instead of the foreground to show/ hide owned popups.