Change fieldname from hidden to visible.

The label for the field is "visible", so it's more logical to also call
the field "visible". I also fixed the logic.