center window is window state is false