SwitchInput in Modal

Hi All,

I used kartik SwitchInput widget to render status = Active (1) and inactive (0). However, sometimes the switch in modal become like attachment. Usually occur after closing modal and reopen it.

Any help?