fix "Enabled shadow preference shows wrong value"

Over copy-pasted.