Fix bug, fail to restore window