Fixes issue where checkboxes and radiobuttons couldn't be toggled in iOS

Fixes issue #177