window: Use defaults only if the persist key is actually not set, so setting to 0 won't flip to default