some polishing for autohide menubar after Windows testing