Simplify: use wu.getXulWin() in fn.restoreZLevel()