Fix the checkbox double click bug