Work around lion widow restoration bug