Fixed issue with clicking on an input checkbox directly