Fix an issue with checkbox/radios and preventing default