Fix handling of persistent window parameters.