Fixed bug with invisible checkbox