Fix #180, xul styling remains when switching windows