Fix recursion bug for Toggle widget
haxelib