Don't assign the value in OnInitialize or OnRender events. You just need to make the variable's default value as true which is bound the checkbox.
In your case you are binding the attribute's value. However the attribute should have True as a default value set.