[fixes #49266847] handle custom checkboxes