Fix deactive state
Closeable window