Read-only tick boxes abnormal behaviour

Fixes an issue where read-only checkboxes weren't retaining their values. Fixes #332